Answers for "delete list of columsn df"

1

drop list of columns pandas

df.drop([item for item in total_cols if item not in columns_in_use], axis=)
Posted by: Guest on May-05-2021

Python Answers by Framework

Browse Popular Code Answers by Language