🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Bug in tutorial process in Execute Python Operator

User: "Caperez"
Altair Community Member
Updated by Jocelyn
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

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "phellinger"
    New Altair Community Member
    Accepted Answer
    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