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

perf: Optimize dataframe-series alignment on axis=1 #732

Merged
merged 6 commits into from
May 31, 2024

Conversation

TrevorBergeron
Copy link
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@product-auto-label product-auto-label bot added size: l Pull request size is large. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels May 29, 2024
local_block = blocks.Block.from_local(pandas_dataframe, self)
assert local_block._transpose_cache is not None
inline_df = dataframe.DataFrame(local_block)
### REMOVE BEFORE SUBMIT!!!!!
Copy link
Contributor

Choose a reason for hiding this comment

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

The presubmit tests are still failing on this assertion. Could you please take another look?
To help identify any problems in coming changes (from any other devs), should we consider enabling this check when we run our pytest?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this assertion was just to help me debug specific tests cases, and not something that should be applied generally, removed from new revision

@chelsea-lin chelsea-lin merged commit 3d39221 into main May 31, 2024
20 of 21 checks passed
@chelsea-lin chelsea-lin deleted the align_df_series branch May 31, 2024 20:28
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: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants