Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas number of columns

### first method ###
len(df.columns)
### second method ###
df.shape[1]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #number #columns
ADD COMMENT
Topic
Name
9+9 =