Selecting from DataFrames
Value-based selections
# generates the true/false array
my_dataframe['my_column']>=some_valueIs-in based selections
subset_of_rows = my_dataframe['column_name'].isin([list_of_values])Other
Boolean Indexing
ms['Precursor Charge']==3selection_criteria = ms['Precursor Charge']==3 #now we have saved the selection criteriaselection_criteria







Last updated
Was this helpful?
