AnswerBun.com

pandas does not load the sub packages properly

Stack Overflow Asked by realbro on November 29, 2020

I kindly ask your help for following error:

runfile('C:/Users/PCUSER/Downloads/feature_engineering.py', wdir='C:/Users/PCUSER/Downloads')
Traceback (most recent call last):

  File "C:UsersPCUSERDownloadsfeature_engineering.py", line 33, in <module>
    import pandas_datareader.data as web

  File "C:UsersPCUSERanaconda3_newenvstflibsite-packagespandas_datareader__init__.py", line 2, in <module>
    from .data import (

ImportError: cannot import name 'DataReader' from 'pandas_datareader.data' (C:UsersPCUSERanaconda3_newenvstflibsite-packagespandas_datareaderdata.py)

The package installer are

  • pandas=1.0.5
  • pandas-datareader=0.8.1

on python 3.7

package are not the most updated. I’m using the same od the script i want to replicate. (full code here: https://github.com/PacktPublishing/Hands-On-Machine-Learning-for-Algorithmic-Trading/tree/master/Chapter04/00_data)

even with most update packages does not work

thanks a lor for your help

Add your own answers!

Related Questions

onclick is not calling the javascript function

1  Asked on December 15, 2020 by umakanth-pendyala

   

Node-MySQL unable to insert TIME

1  Asked on December 15, 2020 by niclassic

         

How to annotate a value from a related model in Django

2  Asked on December 15, 2020 by roman-safonov

     

A network-related or instance-specific error with C#

1  Asked on December 15, 2020 by nathan-nguyen

 

Where are user deletion logs stored on SAP?

1  Asked on December 15, 2020 by jorge-valentini

   

How can I pass date/text to ?

2  Asked on December 15, 2020 by muska

   

Java Scanner useDelimiter() Method

1  Asked on December 14, 2020 by mnh

 

How to implement negative null floating point regex

2  Asked on December 14, 2020 by frontdev24

   

Cannot build Dockerfile

1  Asked on December 14, 2020 by user1765862

   

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir