I dont understand whats the issue with my code, it looks correct but still getting value error. import seaborn as sns import matplotlib.pyplot as plt df=sns.load_dataset("iris") sns.lineplot(data=df, x=df.index, y='sepal_length') plt.title("Sepal Length Line Plot") plt.xlabel("Index") plt.ylabel("Sepal Length") plt.show() pandas version i'm using 2.0.3, seaborn version 0.13.2 with the above code, we can reproduce the error, without any dependency. Error: ValueError: Multi-dimensional indexing (e.g. obj[:, None]) is no longer supported. Convert to a numpy array before indexing instead. Error image Continue reading...