为什么我不能访问Pandas库中的Panel类?

2024-05-23 20:56:40 发布

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

我试图在pandas库中使用Panel(),但出现以下错误:

runfile('E:/Pytjhon pandas library/panel.py', wdir='E:/Pytjhon pandas library')
<pandas.__getattr__.<locals>.Panel object at 0x000001C81854A2C8>
E:/Pytjhon pandas library/panel.py:10: FutureWarning: The Panel class is removed from pandas. Accessing it from the top-level namespace will also be removed in the next version
  p=pd.Panel()


Tags: thefrompypandasobject错误librarypanel