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

BUG: Depreciation Warning with Ray 2.0 for pd.read_parquet when installing Modin from Github #5090

Closed
3 tasks done
benaurelschill opened this issue Oct 5, 2022 · 4 comments
Labels
bug 🦗 Something isn't working Triage 🩹 Issues that need triage

Comments

@benaurelschill
Copy link

benaurelschill commented Oct 5, 2022

Modin version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest released version of Modin.

  • I have confirmed this bug exists on the main branch of Modin. (In order to do this you can follow this guide.)

Reproducible Example

import pandas
import modin.pandas as pd

pdf = pandas.DataFrame({"a": [0]})
pdf.to_parquet("/tmp/for_deprecation_warning.parquet")
print(pd.read_parquet("/tmp/for_deprecation_warning.parquet"))

Issue Description

Just wanted to give you guys a heads up that for reading in parquet files ray will throw a deprecation warning for every read parquet function that is called when I install modin from the Github Branch and use it with Ray 2.0.

Expected Behavior

No warnings throwing

Error Logs

(_apply_func pid=482969) FutureWarning: DataFrame.set_axis 'inplace' keyword is deprecated and will be removed in a future version. Use obj = obj.set_axis(..., copy=False) instead
(_apply_func pid=482969) FutureWarning: DataFrame.set_axis 'inplace' keyword is deprecated and will be removed in a future version. Use obj = obj.set_axis(..., copy=False) instead

Installed Versions

INSTALLED VERSIONS

commit : 7871c7b
python : 3.9.10.final.0
python-bits : 64
OS : Linux
OS-release : 5.14.0-70.26.1.el9_0.x86_64
Version : #1 SMP PREEMPT Fri Sep 2 16:07:40 EDT 2022
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8

@benaurelschill benaurelschill added bug 🦗 Something isn't working Triage 🩹 Issues that need triage labels Oct 5, 2022
@mvashishtha
Copy link
Collaborator

@benaurelschill thank you for reporting this bug. I really appreciate that you caught a bug that, AFAICT, only appeared on the latest commit to Modin. I edited your code so it's a complete reproducer.

I'm investigating what it will take to fix the bug.

@benaurelschill
Copy link
Author

Hey @mvashishtha Thanks for the quick response. I have just seen that somebody opened a similar issue and is already working on this. #5092 So i think we can close this issue.

@mvashishtha
Copy link
Collaborator

@benaurelschill thank you, I missed that.

@mvashishtha
Copy link
Collaborator

Duplicate of #5092

@mvashishtha mvashishtha marked this as a duplicate of #5092 Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🦗 Something isn't working Triage 🩹 Issues that need triage
Projects
None yet
Development

No branches or pull requests

2 participants