Eda, Exploratory Data Analysis, Pandas, Python.
plt.figure(figsize=(8, 6)) sns.histplot(df[column], kde=True) plt.title(f'Histogram of {column}') plt.xlabel(column) plt.ylabel('Frequency') plt.show() else: # For discrete or ordinal variables plt.figure(figsize=(8, 6)) ax = sns.countplot(x=column, data=df) plt.title(f'Count of {column}')