Jupyter notebook 我不知道是什么问题

Jupyter notebook 我不知道是什么问题,jupyter-notebook,seaborn,Jupyter Notebook,Seaborn,我输入了所有必需的导入,例如 import numpy as np import seaborn as sns import pandas as pd import matplotlib.pyplot as plt %matplotlib inline 我仍然得到一个值错误使用 example = sns.barplot(x=df["speed"], y=df["Number_of_Bears"], data=df) 请不要发布错误的屏幕截图。将整个错误作为问题中的代码与您拥有的代码一起发布

我输入了所有必需的导入,例如

import numpy as np
import seaborn as sns
import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline
我仍然得到一个值错误

使用

example = sns.barplot(x=df["speed"], y=df["Number_of_Bears"], data=df)

请不要发布错误的屏幕截图。将整个错误作为问题中的代码与您拥有的代码一起发布。我同意Junkrat。不要发布图片,发布代码或更好的方法,以及完整的错误跟踪。也就是说,屏幕截图清楚地显示你的专栏名为Number of Bears,你正试图绘制y=Number of Bears