A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/8852 below:

plot with kind=scatter fails when checking if an array is in the DataFrame · Issue #8852 · pandas-dev/pandas · GitHub

df = pd.DataFrame({'A': [1, 2], 'B': [3, 4]})
c = np.array([1, 0])
df.plot(kind='scatter', x='A', y='B', c=c, cmap='spring')

fails with a TypeError.

we check elif c in self.data.columns which tries to hash the array.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4