Skip to content

TST: Add tests for if_exists keyword argument in df.to_gbq #30447

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

Merged
merged 8 commits into from
Dec 24, 2019

Conversation

charlesdong1991
Copy link
Member

@charlesdong1991 charlesdong1991 commented Dec 24, 2019

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

Minor comment otherwise ping on green

@@ -891,7 +891,7 @@ Other
- Fixed :class:`IntegerArray` returning ``inf`` rather than ``NaN`` for operations dividing by 0 (:issue:`27398`)
- Fixed ``pow`` operations for :class:`IntegerArray` when the other value is ``0`` or ``1`` (:issue:`29997`)
- Bug in :meth:`Series.count` raises if use_inf_as_na is enabled (:issue:`29478`)

- Add tests for keyword argument ``if_exists`` in :meth:`DataFrame.to_gbq` (:issue:`29598`)
Copy link
Member

Choose a reason for hiding this comment

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

No note needed as this isn't a user-facing change

@WillAyd WillAyd added Testing pandas testing functions or related to the test suite IO Google labels Dec 24, 2019
@WillAyd WillAyd added this to the 1.0 milestone Dec 24, 2019
@charlesdong1991
Copy link
Member Author

ping
@WillAyd

@WillAyd WillAyd merged commit 6c91033 into pandas-dev:master Dec 24, 2019
@WillAyd
Copy link
Member

WillAyd commented Dec 24, 2019

Thanks @charlesdong1991

@alimcmaster1
Copy link
Member

alimcmaster1 commented Dec 24, 2019

Minor comment: Potentially might neater to parameterize the test above test_roundtrip since the method is very similar?

@charlesdong1991
Copy link
Member Author

thanks for your comment @alimcmaster1

sorry that i just noticed it. I quickly looked at the test_round_trip method, but I am not sure if it is need to parametrize. Could you clarify for which part you think to parametrize?

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pandas.DataFrame.to_gbq missing method of writting
3 participants