Pandas filter dataframe columns

PHOTO EMBED

Sat Oct 31 2020 00:40:59 GMT+0000 (Coordinated Universal Time)

Saved by @ianh #pandas #filter #column

# applying filter function 
df.filter(["Name", "College", "Salary"]) 

content_copyCOPY

https://www.geeksforgeeks.org/python-pandas-dataframe-filter/