how to find the median of a column in dataset in python code example Example: get median of column pandas df['column_name'].median()