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 long output to Python aggregate_signals() method #243

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chinandrew
Copy link
Collaborator

Closes #214

Summary of changes

  • Add argument for "long" output format which concatenate signals together. Argument is output_format instead of the R package's format since Python uses format for string formatting.
  • Add tests and update documentation

Should probably refactor these methods into their own file in a later PR (e.g. wrangle.py, similar to R file) since the covidcast file is getting large.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Have python support both wide and long signal aggregation
1 participant