Skip to content

Conversation

@dgenio
Copy link
Owner

@dgenio dgenio commented Apr 18, 2023

No description provided.

downcast="float",
errors="coerce"
)
long_data = long_data.dropna(subset=["value"])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't use as many variable names for the different versions of the dataset.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually prefer it, to ensure I understand what's in the variable at each point.


def test_clean_data(pt_life_expectancy_expected):
"""Run the `main` function and compare the output to the expected output"""
main(country_code="PT")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think you should change the argument of your test

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I clearly miss understood what I should do.

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

Successfully merging this pull request may close these issues.

3 participants