I have a dataframe and I want to delete every row until a specific string is found.
I have tried a couple things but nothing seems to be working. Here is what I have tried:
df[((df.Plate != 'Group Summaries'))]
df.loc[: df[(df['Plate:'] == 'Group Summaries')].index[0], :]
df[(df['Plate:'] == "Group Summaries").idxmax():]