I'm trying to create a seaborn catplot. I read a csv datafile which includes data for 600 companies. I create four equal sized categories for the Environment Score column. I use this category as my x-axis variable and P/E-Ratio column is y-axis variable. Python displays the catplot and it looks as it should but it still displays the ValueError before the catplot. For example I managed to create a boxenplot with the same variables. The code that I used is below. What is wrong with it? Thank you in advance :)
import pandas as pd
import seaborn as sns
data_df = pd.read_csv("assign_data.csv", delimiter = ";")
env_categ = pd.qcut(data_df['Environment Score'], 4)
sns.catplot(x=env_categ, y='P/E-Ratio', data=data_df, kind='violin')