Answers for "df.drop(df.index[df['myvar'] == 'specific_name'], inplace = True)"

1

python pandas drop column by index

df.drop(a_dataframe.columns[0], axis=1, inplace=True)
Posted by: Guest on May-09-2021

Code answers related to "df.drop(df.index[df['myvar'] == 'specific_name'], inplace = True)"

Python Answers by Framework

Browse Popular Code Answers by Language