Skip to content

Conversation

@zhengruifeng
Copy link
Contributor

@zhengruifeng zhengruifeng commented Sep 29, 2022

What changes were proposed in this pull request?

Eliminate to_pandas warnings in test, by changing to_pandas() to _to_pandas()

Why are the changes needed?

when a test containing to_pandas failed, it may print tons of warnings, for example, in https://github.com/zhengruifeng/spark/actions/runs/3142284988/jobs/5106178199

it printed this warning from line 1243 to line 3985:

image

Does this PR introduce any user-facing change?

No

How was this patch tested?

updated tests

Copy link
Member

Choose a reason for hiding this comment

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

Just for my info, what is the difference in the old and new method, anything functional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the only difference between to_pandas() and _to_pandas() is the warning.

@zhengruifeng
Copy link
Contributor Author

also cc @HyukjinKwon @itholic @xinrong-meng

@zhengruifeng
Copy link
Contributor Author

Merged into master, thanks all

@zhengruifeng zhengruifeng deleted the ps_test_to_pandas branch September 30, 2022 05:45
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.

4 participants