-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DEPS/DEPR: Allow import of feather through pyarrow #21639
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
Comments
would take a PR to use pyarrow.feather |
4 tasks
tm9k1
pushed a commit
to tm9k1/pandas
that referenced
this issue
Nov 19, 2018
The nthreads argument is no longer supported since pyarrow 0.11.0 and was replaced with use_threads. Hence we deprecate the argument now as well so we can remove it in the future. This commit also: - removes feather-format as a dependency and replaces it with usage of pyarrow directly. - sets CI dependencies to respect the changes above. We test backwards compatibility with pyarrow 0.9.0 as conda does not provide a pyarrow 0.10.0 and the conda-forge version has comatibility issues with the rest of the installed packages. Resolves pandas-dev#23053. Resolves pandas-dev#21639.
Pingviinituutti
pushed a commit
to Pingviinituutti/pandas
that referenced
this issue
Feb 28, 2019
The nthreads argument is no longer supported since pyarrow 0.11.0 and was replaced with use_threads. Hence we deprecate the argument now as well so we can remove it in the future. This commit also: - removes feather-format as a dependency and replaces it with usage of pyarrow directly. - sets CI dependencies to respect the changes above. We test backwards compatibility with pyarrow 0.9.0 as conda does not provide a pyarrow 0.10.0 and the conda-forge version has comatibility issues with the rest of the installed packages. Resolves pandas-dev#23053. Resolves pandas-dev#21639.
Pingviinituutti
pushed a commit
to Pingviinituutti/pandas
that referenced
this issue
Feb 28, 2019
The nthreads argument is no longer supported since pyarrow 0.11.0 and was replaced with use_threads. Hence we deprecate the argument now as well so we can remove it in the future. This commit also: - removes feather-format as a dependency and replaces it with usage of pyarrow directly. - sets CI dependencies to respect the changes above. We test backwards compatibility with pyarrow 0.9.0 as conda does not provide a pyarrow 0.10.0 and the conda-forge version has comatibility issues with the rest of the installed packages. Resolves pandas-dev#23053. Resolves pandas-dev#21639.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently,
DataFrame.to_feather()
tries toimport feather
, which only works iffeather-format
is installed. The same capabilities could also be imported as follows:import pyarrow.feather as feather
.The issue is that
pyarrow
is more easily available (e.g.conda install feather-format
doesn't work without specifying a specific channel; butpyarrow
works), and is under more active development.I asked if there is a preference between the two imports in wesm/feather#341, and Wes answered [my bold]:
I think the import should at least try
import pyarrow.feather as feather
as well, ifimport feather
fails.The text was updated successfully, but these errors were encountered: