Bug in tutorial process in Execute Python Operator

ceaperezceaperez Member Posts: 377 Unicorn
Hi there.
I'm trying the tutorial process "Creating a chart using Python and storing it in your repository", because I need to extract some charts from the Python package, but when I try to run the tutorial process, the process stops and shows a "Parsing failed. ". message. This is because the pandas.io.data package used in this script was removed, and Pandas now uses the pandas_datareader package to access remote data such as Yahoo, Google Analytics, etc.
Best, 
Cesar

Best Answer

  • phellingerphellinger Employee, Member Posts: 103 RM Engineering
    Solution Accepted
    Hey @ceaperez,

    Thanks for looking into this!

    I believe the tutorial has already been updated with the code below.
    try:
        from pandas.io.data import DataReader
    except:
        from pandas_datareader import DataReader

    On the other hand, there is now a URL error after using the correct package, let's see if we need to updated that.

    Best,
    Peter
    MartinLiebig
Sign In or Register to comment.