Answers for "deleate a column in python"

0

remove columns from dataframe

df.drop('col_name',1) #1 drop column / 0 drop row
Posted by: Guest on August-10-2020
0

remove a columns in pandas

DataFrame.drop(self, labels=None, axis=0, index=None, columns=None, level=None, inplace=False, errors='raise')[source]
Posted by: Guest on May-31-2020

Code answers related to "deleate a column in python"

Python Answers by Framework

Browse Popular Code Answers by Language