Nguyễn Ngọc Tâm Quyên
Member
How do I remove the first column?
Answer
Pandas: Delete first column of dataframe in Python
Answer
Pandas: Delete first column of dataframe in Python
- Use iloc to drop first column of pandas dataframe.
- Use drop() to remove first column of pandas dataframe.
- Use del keyword to remove first column of pandas dataframe.
- Use pop() to remove first column of pandas dataframe.