Skip to content

'GDPbyIndustry' example #31

@valeriehuang19

Description

@valeriehuang19

Hi David,
The python package is really helpful! I am wondering if you can give an example for GDPbyIndustry request? I am doing something like this but it shows an error.

data = pybea.get_data(USER_ID, DataSetName='GDPbyIndustry', tableID=1, Frequency=['A'], Year=['2011','2012'], Industry=['721'], ResultFormat="JSON" )

KeyError: 'Only a column name can be used for the key in a dtype mappings argument.'

I am not sure what the problem is.

Thank you!
Valerie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions