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

Add pandas helper functions for get_stat_* #144

Merged
merged 37 commits into from
Aug 26, 2020

Conversation

tjann
Copy link
Contributor

@tjann tjann commented Aug 24, 2020

No description provided.

@tjann tjann requested a review from shifucun August 24, 2020 09:20
@tjann tjann marked this pull request as ready for review August 24, 2020 09:20
@tjann tjann requested review from pradh and beets August 24, 2020 10:26
setup_dcpandas.py Outdated Show resolved Hide resolved
setup_dcpandas.py Outdated Show resolved Hide resolved
setup_dcpandas.py Outdated Show resolved Hide resolved
requirements.txt Show resolved Hide resolved
dcpandas/CHANGELOG.md Outdated Show resolved Hide resolved
dcpandas/README.md Outdated Show resolved Hide resolved
dcpandas/df_builder.py Outdated Show resolved Hide resolved
Copy link
Contributor

@beets beets left a comment

Choose a reason for hiding this comment

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

I have some meta questions around how we're structuring this library, as well as whether we should do the selection to cover most geos in this library or in the mixer (my vote for the latter, so that we get standardized behavior across clients).

dcpandas/CHANGELOG.md Outdated Show resolved Hide resolved
dcpandas/CHANGELOG.md Outdated Show resolved Hide resolved
dcpandas/README.md Outdated Show resolved Hide resolved
dcpandas/README.md Outdated Show resolved Hide resolved
dcpandas/README.md Outdated Show resolved Hide resolved
dcpandas/df_builder.py Outdated Show resolved Hide resolved
dcpandas/examples/df_builder.py Outdated Show resolved Hide resolved
dcpandas/setup.py Outdated Show resolved Hide resolved
dcpandas/setup.py Outdated Show resolved Hide resolved
dcpandas/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@beets beets left a comment

Choose a reason for hiding this comment

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

thanks, agree with the meta-changes you outlined. some outstanding comments still in df_builder.py

dcpandas/df_builder.py Outdated Show resolved Hide resolved
@tjann tjann requested review from shifucun and beets August 25, 2020 05:54
datacommons_pandas/CHANGELOG.md Outdated Show resolved Hide resolved
datacommons_pandas/CHANGELOG.md Outdated Show resolved Hide resolved
datacommons_pandas/core.py Show resolved Hide resolved
datacommons_pandas/examples/df_builder.py Show resolved Hide resolved
@shifucun
Copy link
Contributor

The structure looks much cleaner now!

@tjann tjann requested a review from shifucun August 25, 2020 16:43
datacommons/__init__.py Outdated Show resolved Hide resolved
datacommons/__init__.py Show resolved Hide resolved
datacommons_pandas/README.md Show resolved Hide resolved
datacommons_pandas/__init__.py Outdated Show resolved Hide resolved
dcpandas/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@beets beets left a comment

Choose a reason for hiding this comment

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

thanks for the investigation, i think this solution works well!

i still have some unaddressed comments on df_builder.py (they seem to have gotten collapsed). could you take a look at those? mostly around readability and reusability of the selection logic.

tjann added 2 commits August 25, 2020 12:50
…lder; add test for raising no data error; fix various tests that were returning the type HTTPError instead of an instance of HTTPError.
Copy link
Contributor

@beets beets left a comment

Choose a reason for hiding this comment

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

thanks for making all the changes!

@tjann tjann merged commit ffba5fd into datacommonsorg:master Aug 26, 2020
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