Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

dataframe plot histogram

# plot all
df.hist(figsize=(20,30), bins=25, 
grid=False, figsize=(12,8), color='#86bf91', zorder=2, rwidth=0.9)

# plot specific columns
df.hist(column='columns')

# or
ax = df.hist(column='session_duration_seconds', bins=25, 
grid=False, figsize=(12,8), color='#86bf91', zorder=2, rwidth=0.9)
Source by mode.com #
 
PREVIOUS NEXT
Tagged: #dataframe #plot #histogram
ADD COMMENT
Topic
Name
5+4 =