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

Remove pandas / numpy Dependency From metricflow #1190

Closed
wants to merge 7 commits into from

Conversation

plypaul
Copy link
Contributor

@plypaul plypaul commented May 8, 2024

Description

This PR removes pandas / numpy from metricflow for similar reasons as those listed in #1189.

The main challenge with doing so is that the DataFrame implementation needs to be swapped. The operations that are done with DataFrames are limited to access, comparison, and display operations, so an internal representation is reasonable.

Cleanup is still remaining:

  • Docstrings need more elaboration.
  • Some commits need to be split.
  • MetricFlowDataTable needs refinement e.g. type-casting / inference of data types / logic consolidation.

@cla-bot cla-bot bot added the cla:yes label May 8, 2024
Copy link

github-actions bot commented May 8, 2024

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.

1 similar comment
Copy link

github-actions bot commented May 8, 2024

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.

@plypaul plypaul changed the base branch from main to p-rm-pandas--02 May 8, 2024 11:33
@plypaul plypaul force-pushed the p-rm-pandas--03 branch from 769a281 to 3376b7e Compare May 8, 2024 11:59
@plypaul plypaul force-pushed the p-rm-pandas--03 branch 6 times, most recently from a053545 to 3840339 Compare May 8, 2024 19:11
@plypaul plypaul force-pushed the p-rm-pandas--03 branch from 3840339 to 81c66d8 Compare May 8, 2024 20:19
@plypaul
Copy link
Contributor Author

plypaul commented May 30, 2024

Closing this out as this was significantly revised, and related changes will be in a another PR.

@plypaul plypaul closed this May 30, 2024
@plypaul plypaul deleted the p-rm-pandas--03 branch May 31, 2024 01:51
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.

1 participant