how to get median by each column in pandas code example Example: get median of column pandas df['column_name'].median()