Boa noite! Ao executar o comando no Jupyter :
sns.scatterplot( x = 'valor_da_conta', y = 'gorgeta', dados = gorgetas)
Recebo o seguinte erro:
ValueError Traceback (most recent call last) /var/folders/rb/518gj3fx2vx726js2q3xc89c0000gn/T/ipykernel_1279/3151825802.py in ----> 1 sns.scatterplot( x = 'valor_da_conta', y = 'gorgeta', dados = gorgetas)
~/opt/anaconda3/envs/alura_pandas/lib/python3.9/site-packages/seaborn/decorators.py in innerf(args, *kwargs) 44 ) 45 kwargs.update({k: arg for k, arg in zip(sig.parameters, args)}) ---> 46 return f(**kwargs) 47 return inner_f 48
~/opt/anaconda3/envs/alura_pandas/lib/python3.9/site-packages/seaborn/relational.py in scatterplot(x, y, hue, style, size, data, palette, hue_order, hue_norm, sizes, size_order, size_norm, markers, style_order, x_bins, y_bins, units, estimator, ci, n_boot, alpha, x_jitter, y_jitter, legend, ax, **kwargs) 806 807 variables = ScatterPlotter.getsemantics(locals()) --> 808 p = ScatterPlotter( 809 data=data, variables=variables, 810 xbins=x_bins, y_bins=y_bins,
~/opt/anaconda3/envs/alura_pandas/lib/python3.9/site-packages/seaborn/relational.py in init(self, data, variables, x_bins, y_bins, estimator, ci, n_boot, alpha, x_jitter, y_jitter, legend) 585 ) 586 --> 587 super().init(data=data, variables=variables) 588 589 self.alpha = alpha
~/opt/anaconda3/envs/alura_pandas/lib/python3.9/site-packages/seaborn/core.py in init(self, data, variables) 603 def init(self, data=None, variables={}): 604 --> 605 self.assignvariables(data, variables) 606 607 for var, cls in self.semanticmappings.items():
~/opt/anaconda3/envs/alura_pandas/lib/python3.9/site-packages/seaborn/core.py in assignvariables(self, data, variables) 666 else: 667 self.input_format = "long" --> 668 plot_data, variables = self.assignvariables_longform( 669 data, **variables, 670 )
~/opt/anaconda3/envs/alura_pandas/lib/python3.9/site-packages/seaborn/core.py in _assignvariables_longform(self, data, **kwargs)
901
902 err = f"Could not interpret value {val}
for parameter {key}
"
--> 903 raise ValueError(err)
904
905 else:
ValueError: Could not interpret value valor_da_conta
for parameter x
Alguém saberia ajudar?
Grata!