Eda, Exploratory Data Analysis, Pandas, Python.
else: average = None average_non_zero = None # Check if null values are present null_present = 1 if df[column].isnull().any() else 0 # Get number of nulls and non-nulls num_nulls = df[column].isnull().sum() num_non_nulls = df[column].notnull().sum() # Distinct_values only take top 10 distinct