Today I tried using the get_water_use() function
from dataretrieval import nwis
wudict = {'AZ':['Mohave', 'Graham', 'Cochise', 'Pinal', 'Gila',
'Maricopa', 'Yavapai'],
'NM':['Catron', 'Grant'],
'UT':['Washington']}
for state in wudict.keys():
counties = wudict[state]
wu = nwis.get_water_use(years='ALL', state=state, counties=counties,
categories='ALL')
wu_df = wu[0]
and the return did not produce a dataframe, instead I got something that was coerced to a dataframe (wu_df) but is definitely not the return I was looking for (see image below for picture of what was returned).

What's going on here? I tried updating the package, but that didn't solve it.
thanks,
Annie
Today I tried using the get_water_use() function
and the return did not produce a dataframe, instead I got something that was coerced to a dataframe (wu_df) but is definitely not the return I was looking for (see image below for picture of what was returned).
What's going on here? I tried updating the package, but that didn't solve it.
thanks,
Annie