DEV Community

Shivam Jain
Shivam Jain

Posted on

How to find number of columns of dataset using pandas

housingdata = pd.read_csv('oneDataset/housing.csv')
len(housingdata.columns)
Enter fullscreen mode Exit fullscreen mode

Top comments (0)