The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Bug in tutorial process in Execute Python Operator

ceaperezceaperez Member Posts: 541 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-RapidMiner, 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
Sign In or Register to comment.