You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and when I run below code, it will give me FileNotFoundError:
fpath="sample.csv"# relative path, same parent dir as the scriptimportpandasimportmodin.pandasasmpddf=pandas.read_csv(fpath) # no errormdf=pd.read_csv(fpath) # FileNotFoundError: [Errno 2] No such file or directory: <full path of the file> the parent dir is the path of the ray node.
but if I unset both MODIN_RAY_CLUSTER and RAY_ADDRESS, a local ray instance will be created and file will be loaded without an error. Could anyone confirm if this is a bug, or I am using it wrong, how can I load it without first load into local vanilla pandas dataframe.
I also tried things like:
upload the file to server and parse the path to be the absolute path of that file in the server, still getting FileNotFoundError
unset the RAY env vars and init ray inside of the script with the address, still same error
I am using [email protected] because I need to use it on python 3.8, and my machine that calls the script is a WSL2 on Win 11, and my ray clusters are on ubuntu LTS 22.04.
The text was updated successfully, but these errors were encountered:
@Garra1980 thank you, after making file available to all workers (including my local machine), read_csv will work. But to be honest, I was expecting Modin can read my local file and distribute the DataFrame automatically, wonder if that can be made as a future feature.
I have below env vars
and when I run below code, it will give me
FileNotFoundError
:but if I unset both
MODIN_RAY_CLUSTER
andRAY_ADDRESS
, a local ray instance will be created and file will be loaded without an error. Could anyone confirm if this is a bug, or I am using it wrong, how can I load it without first load into local vanilla pandas dataframe.I also tried things like:
I am using [email protected] because I need to use it on python 3.8, and my machine that calls the script is a WSL2 on Win 11, and my ray clusters are on ubuntu LTS 22.04.
The text was updated successfully, but these errors were encountered: