holoviz / holoviews

With Holoviews, your data visualizes itself.
https://holoviews.org
BSD 3-Clause "New" or "Revised" License
2.71k stars 404 forks source link

Gapminder gallery example uses deprecated deprecated pandas.Panel #4427

Closed ned2 closed 4 years ago

ned2 commented 4 years ago

I tried to replicate the Gapminder example in the Holoviews gallery with Holoviews 1.13.2 and pandas 1.0.3 and got this:

<ipython-input-43-2f019144328a>:14: FutureWarning: The Panel class is removed from pandas. Accessing it from the top-level namespace will also be removed in the next version
  panel = pd.Panel({'Fertility': gapminder.fertility,
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-43-2f019144328a> in <module>
     12 
     13 # Declare dataset
---> 14 panel = pd.Panel({'Fertility': gapminder.fertility,
     15                   'Population': gapminder.population,
     16                   'Life expectancy': gapminder.life_expectancy})

TypeError: Panel() takes no arguments
philippjfr commented 4 years ago

Sorry for the late reply, this was fixed in 1.13.3.

github-actions[bot] commented 3 weeks ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.