I want to select rows that the values do not start with some str. For example, I have a pandas df, and I want to select data do not start with t, a
df
t
Just another alternative in case you prefer regex:
df1[df1.col.str.contains('^[^tc]')]