find out median in all columns in python dataframe code example Example: get median of column pandas df['column_name'].median()