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

[MINOR][PYTHON] Eliminating warnings for panda #47222

Closed
wants to merge 1 commit into from

Conversation

panbingkun
Copy link
Contributor

@panbingkun panbingkun commented Jul 5, 2024

What changes were proposed in this pull request?

The pr aims to eliminating warnings for panda: <string>:5: FutureWarning: 'M' is deprecated and will be removed in a future version, please use 'ME' instead.

Why are the changes needed?

Only eliminating warnings for panda
https://github.com/panbingkun/spark/actions/runs/9795675050/job/27048513673
image

Does this PR introduce any user-facing change?

No.

How was this patch tested?

  • Pass GA.
  • Manually test.

Was this patch authored or co-authored using generative AI tooling?

No.

@panbingkun panbingkun changed the title [TEST ONLY][MINOR][PYTHON] Eliminating warnings for panda [MINOR][PYTHON] Eliminating warnings for panda Jul 5, 2024
@panbingkun panbingkun marked this pull request as ready for review July 5, 2024 23:37
@panbingkun
Copy link
Contributor Author

Copy link
Contributor

@itholic itholic left a comment

Choose a reason for hiding this comment

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

Looks good.

btw, is this the only feature we should silent the warning from pandas 2.x?

@panbingkun
Copy link
Contributor Author

Looks good.

btw, is this the only feature we should silent the warning from pandas 2.x?

This is just what I found during the building of the PySpark API docs, and I haven't found any other related warnings yet.

@zhengruifeng
Copy link
Contributor

LGTM, merged to master

ericm-db pushed a commit to ericm-db/spark that referenced this pull request Jul 10, 2024
### What changes were proposed in this pull request?
The pr aims to eliminating warnings for panda: `<string>:5: FutureWarning: 'M' is deprecated and will be removed in a future version, please use 'ME' instead.`

### Why are the changes needed?
Only eliminating warnings for panda
https://github.com/panbingkun/spark/actions/runs/9795675050/job/27048513673
<img width="856" alt="image" src="https://github.com/apache/spark/assets/15246973/ea70e922-897e-450f-b150-3d38d7f20930">

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
- Pass GA.
- Manually test.

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes apache#47222 from panbingkun/remove_pandas_warning.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
jingz-db pushed a commit to jingz-db/spark that referenced this pull request Jul 22, 2024
### What changes were proposed in this pull request?
The pr aims to eliminating warnings for panda: `<string>:5: FutureWarning: 'M' is deprecated and will be removed in a future version, please use 'ME' instead.`

### Why are the changes needed?
Only eliminating warnings for panda
https://github.com/panbingkun/spark/actions/runs/9795675050/job/27048513673
<img width="856" alt="image" src="https://github.com/apache/spark/assets/15246973/ea70e922-897e-450f-b150-3d38d7f20930">

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
- Pass GA.
- Manually test.

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes apache#47222 from panbingkun/remove_pandas_warning.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
attilapiros pushed a commit to attilapiros/spark that referenced this pull request Oct 4, 2024
### What changes were proposed in this pull request?
The pr aims to eliminating warnings for panda: `<string>:5: FutureWarning: 'M' is deprecated and will be removed in a future version, please use 'ME' instead.`

### Why are the changes needed?
Only eliminating warnings for panda
https://github.com/panbingkun/spark/actions/runs/9795675050/job/27048513673
<img width="856" alt="image" src="https://github.com/apache/spark/assets/15246973/ea70e922-897e-450f-b150-3d38d7f20930">

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
- Pass GA.
- Manually test.

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes apache#47222 from panbingkun/remove_pandas_warning.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
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