Skip to content
Snippets Groups Projects
Commit e091c0d3 authored by Chandrasekhar Ramakrishnan's avatar Chandrasekhar Ramakrishnan
Browse files

fix: make the switch to Int32 for population a TODO

parent 62e2cdb1
No related branches found
No related tags found
1 merge request!120fix: make the switch to Int32 for population a TODO
Pipeline #23997 passed
......@@ -83,8 +83,8 @@ class CaseConverterImpl:
def _set_common_columns(self, df):
"""Use only the common columns; add missing ones when needed."""
try:
# Int32 (as opposed to int32) is an intger type that allows nan
df["population"] = df.population.astype("Int32")
# TODO: Int32 (as opposed to int) is an intger type that allows nan
df["population"] = df.population.astype(int)
except ValueError:
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment