-
Notifications
You must be signed in to change notification settings - Fork 72
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
District of Columbia doesn't exist in States but exist in states #67
Comments
Setting DC Statehood with an environment variable doesn't not appear to add the district to the STATES list as one would expect from the docs. It is present in the us.states list whether or not DC_STATEHOOD is True. See behavior below, when DC_STATEHOOD is True import librariesimport os Set environment variableos.environ['DC_STATEHOOD'] = '1' Find DC in states liststates_s=[us.states.DC] returns [<State:District of Columbia>] Find DC in STATES listus.states.STATES returns [State:Alabama, This seems buggy on both the default inclusion of DC in states and the exclusion of DC from STATES when statehood is true. I am using the latest version 2.0.2. Please lmk if there is any other info I can provide. Thanks! |
@depmc232 apologies for the confusion there! The documentation reflected an unreleased version of the us package 😖 but version 3.1.1 was just pushed to PyPI and includes the DC_STATEHOOD flag. DC will always show up as an attribute of Thanks! |
No description provided.
The text was updated successfully, but these errors were encountered: