How can I make make two separate Seaborn kdeplots for all the columns of a pandas dataframe:
- A pandas dataframe (
df
) with six columns (e.g. below):
df.columns = ["A", "B", "C", "D", "E", "F"]
I tried the following code, but that did not work. Any tips for the code below?
df = sns.load_dataset("df")
g = sns.FacetGrid(df)
g.map(s.skdeplot, "df.columns");