how to drop lines in pandas code example
Example 1: python: remove specific values in a dataframe
df.drop(df.index[df['myvar'] == 'specific_name'], inplace = True)
Example 2: drop columnd python
>>> df.drop(columns=['B', 'C'])
A D
0 0 3
1 4 7
2 8 11