为什么在Python的seaborn语法中得到“keyror”?

2024-06-26 01:34:40 发布

您现在位置:Python中文网/ 问答频道 /正文

在以下语法中,我得到了errorkeyror:'Drat':

sb.regplot(x='Drat', y='Carb', data=cars, scatter = True)

此语法的数据为:

^{pr2}$

有人能解释一下为什么会发生这种错误吗?拜托。在


Tags: 数据truedata错误语法carssbscatter