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
When I try to download median income ('B06011_001E') for 2015 there are tons of missing values. Here is an example using California ('06') tracts, but this happens in other states too.
from census import Census
c = Census("<KEY>",year=2015)
outst = c.acs5.get(('B01003_001E','B06011_001E'),{'for':'tract:*','in':'state:06 county:*'})
inc = pd.DataFrame([o['B06011_001E'] for o in outst])
np.sum(np.isnan(inc))
This returns 2611 NaNs for me, out of 8057 tracts. The same is not true for total population (the other variable here). And the same is not true when changing the year to any other year in 2010-2019.
I'd appreciate any insight! Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
When I try to download median income ('B06011_001E') for 2015 there are tons of missing values. Here is an example using California ('06') tracts, but this happens in other states too.
This returns 2611 NaNs for me, out of 8057 tracts. The same is not true for total population (the other variable here). And the same is not true when changing the year to any other year in 2010-2019.
I'd appreciate any insight! Thanks!
The text was updated successfully, but these errors were encountered: