Create a Python script to fill empty cells in a Pandas DataFrame with the median value for that column.
A sample Pandas DataFrame
import pandas as pd

# Replace empty cells with the median value of the column
df = df.fillna(df.median())

# Check if the null values have been replaced
print(df.isnull().sum())