Skip to content

feat: copy pandas matplotlib code to third_party #409

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

Closed
wants to merge 2 commits into from

Conversation

chelsea-lin
Copy link
Contributor

This change copies the pandas MPLPlot and LinePlot classes to the third_party folder, in preparation for implements to the plot.hist features (internal bug: b/322178004)

@chelsea-lin chelsea-lin requested a review from tswast March 5, 2024 17:58
@chelsea-lin chelsea-lin requested review from a team as code owners March 5, 2024 17:58
@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Mar 5, 2024
@shobsi
Copy link
Contributor

shobsi commented Mar 5, 2024

This change copies the pandas MPLPlot and LinePlot classes to the third_party folder, in preparation for implements to the plot.hist features (internal bug: b/322178004)

Wondering why we can't depend on them directly through package dependency?

@chelsea-lin
Copy link
Contributor Author

chelsea-lin commented Mar 5, 2024

This change copies the pandas MPLPlot and LinePlot classes to the third_party folder, in preparation for implements to the plot.hist features (internal bug: b/322178004)

Wondering why we can't depend on them directly through package dependency?

@shobsi It can avoid tight dependency on pandas internal classes to ensure long-term compatibility. Pandas only tries to guarantees stability only for its public API, but not for these internal classes.

@chelsea-lin chelsea-lin force-pushed the main_chelsealin_plothist0 branch from 4aaad78 to a65cb35 Compare March 5, 2024 20:12
@chelsea-lin
Copy link
Contributor Author

We don't need this PR anymore with the change: #420

@chelsea-lin chelsea-lin closed this Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: xl Pull request size is extra large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants