Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nan on DMR effluent parameter selection in section 7 #13

Open
ericnost opened this issue Sep 22, 2021 · 0 comments
Open

Fix nan on DMR effluent parameter selection in section 7 #13

ericnost opened this issue Sep 22, 2021 · 0 comments
Assignees

Comments

@ericnost
Copy link
Member

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-19-14a582993ca8> in <module>()
     13 
     14 if visualization.value == "Map":
---> 15   data.show_program_map("2020 DMR Filtered")
     16 elif visualization.value == "Chart":
     17   data.show_chart("2020 DMR Filtered")

/content/ECHO_modules/class.py in show_program_map(self, program, quartiles)
    457       for index, row in map_data.iterrows():
    458         if quartiles == True:
--> 459           r = scale[row["quantile"]]
    460         else:
    461           r = row[aggregator]

KeyError: nan
@ericnost ericnost self-assigned this Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant