Este é o Código!
sns.scatterplot(x="horas_esperadas", y="preco", hue=teste_y, data=teste_x)
Surge este erro!
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-17-7538f0476733> in <module>()
----> 1 sns.scatterplot(x="horas_esperadas", y="preco", hue=teste_y, data=teste_x)
11 frames
/usr/local/lib/python3.6/dist-packages/pandas/core/internals/managers.py in _stack_arrays(tuples, dtype)
1861 stacked = np.empty(shape, dtype=dtype)
1862 for i, arr in enumerate(arrays):
-> 1863 stacked[i] = _asarray_compat(arr)
1864
1865 return stacked, placement
ValueError: could not broadcast input array from shape (540) into shape (1)
Como resolver este problema?