table useful pandas methods for data inspection columns column names count counts number of non-na cells crosstab cross-tabulate two or more categories describe summary statistics dtypes data types for each column head display the top rows of dataframe groupby group data by column(sinfo display information about the dataframe loc access group or rows or columns mean column/row mean plot plot of columns std column/row standard deviation sum returns column/row sum tail display the bottom rows of dataframe value_counts counts of different non-null values var variance df pd dataframe (' ':[' ',' ',' ',' ',' ',' ']' ':np random rand ( ' ':[' ',' ',' ',' ',' ',' ']' ':np random rand ( }print (df print (df groupby (' 'mean () print (df groupby (' '' ']mean () to allow for multiple functions to be calculated at oncethe agg method can be used it can take listdictionaryor string of functions