You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error:
KeyError: 'Only a column name can be used for the key in a dtype
mappings argument.'
I get the same error for ParameterName='Frequency' as well.
Though when I create a request for NIPA:
request = pybea.api.ParameterListRequest(USER_ID,
DataSetName='NIPA',
ResultFormat="JSON")
request.parameter_list
I get the following parameters:
ParameterName
Frequency
ShowMillions
TableID
TableName
Year
So, TableName and Frequency are valid parameter names, why do I get an error when I try to call the following?
I am getting a KeyError when trying to get a TableName / Frequency from pybea.get_parameter_values. Below is an example:
NIPA_TableName = pybea.get_parameter_values(USER_ID, DataSetName='NIPA', ParameterName='TableName')
NIPA_TableName
I get the following error:
KeyError: 'Only a column name can be used for the key in a dtype
mappings argument.'
I get the same error for ParameterName='Frequency' as well.
Though when I create a request for NIPA:
request = pybea.api.ParameterListRequest(USER_ID,
DataSetName='NIPA',
ResultFormat="JSON")
request.parameter_list
I get the following parameters:
ParameterName
Frequency
ShowMillions
TableID
TableName
Year
So, TableName and Frequency are valid parameter names, why do I get an error when I try to call the following?
NIPA_TableName = pybea.get_parameter_values(USER_ID, DataSetName='NIPA', ParameterName='TableName')
The text was updated successfully, but these errors were encountered: