-
Notifications
You must be signed in to change notification settings - Fork 217
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
pyarrow: Check compatibility of pyarrow-backed pandas objects with numeric dtypes #2774
Commits on Oct 29, 2023
-
Ensure that pyarrow backed pandas.Series can be read
Install pyarrow as an optional dependency, and check that pandas.Series objects backed by pyarrow dtypes (e.g. 'uint8[pyarrow]') can be read by virtualfile_from_vectors.
Configuration menu - View commit details
-
Copy full SHA for de36c6c - Browse repository at this point
Copy the full SHA de36c6cView commit details
Commits on Nov 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7a43e7b - Browse repository at this point
Copy the full SHA 7a43e7bView commit details -
Fix check on whether pyarrow is installed
Remove duck-typing that didn't work, and use a proper try-except `import pyarrow`.
Configuration menu - View commit details
-
Copy full SHA for 06739ef - Browse repository at this point
Copy the full SHA 06739efView commit details
Commits on Dec 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 88ce36d - Browse repository at this point
Copy the full SHA 88ce36dView commit details -
Ensure that pygmt.info can work with pyarrow int64/float64 dtypes
Check that pandas.Series and pandas.DataFrame objects backed by pyarrow dtypes (e.g. 'int64[pyarrow]' and 'float64[pyarrow]') can be read by pygmt.info. Using pandas.util._test_decorators_skip_if_no pytest mark to simplify the pytest parametrize.
Configuration menu - View commit details
-
Copy full SHA for 83ed447 - Browse repository at this point
Copy the full SHA 83ed447View commit details -
Add xfail test for test_geopandas_plot_int_dtypes casting to pyarrow int
Geopandas doesn't support casting to pyarrow dtypes like 'int32[pyarrow]' and 'int64[pyarrow]' yet, but adding an xfail test so that we don't forget to test in the future.
Configuration menu - View commit details
-
Copy full SHA for ad99cab - Browse repository at this point
Copy the full SHA ad99cabView commit details -
Clarify reason for test_geopandas_plot_int_dtypes xfail
Actually, casting to pyarrow integer dtypes work, but writing to the temporary OGR_GMT file doesn't.
Configuration menu - View commit details
-
Copy full SHA for a5284fc - Browse repository at this point
Copy the full SHA a5284fcView commit details -
Add optional pyarrow dependency to ci_test_dev and ci_tests_legacy
Ensure that previous and future versions of GMT are compatible with PyArrow too.
Configuration menu - View commit details
-
Copy full SHA for 8b28ba4 - Browse repository at this point
Copy the full SHA 8b28ba4View commit details -
Add note about support of PyArrow dtypes to doc/install.rst
Mention that PyGMT does have some initial support of Pandas objects backed by PyArrow-dtype arrays, but only uint/int/float dtypes for now.
Configuration menu - View commit details
-
Copy full SHA for 95d2b8a - Browse repository at this point
Copy the full SHA 95d2b8aView commit details
Commits on Dec 10, 2023
-
Replace pandas.util._test_decorators with inline pytest.mark.skipif mark
Implementing the td.skip_if_no pytest mark inline instead of using the private function from pandas.
Configuration menu - View commit details
-
Copy full SHA for 5adcba6 - Browse repository at this point
Copy the full SHA 5adcba6View commit details
Commits on Dec 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3ca0288 - Browse repository at this point
Copy the full SHA 3ca0288View commit details -
Apply suggestions from code review
Co-Authored-By: Dongdong Tian <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d50a23 - Browse repository at this point
Copy the full SHA 6d50a23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1783c7c - Browse repository at this point
Copy the full SHA 1783c7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62d22cb - Browse repository at this point
Copy the full SHA 62d22cbView commit details -
Use importlib.util.find_spec instead of try-except block
Cleaner way to check if pyarrow is installed or not.
Configuration menu - View commit details
-
Copy full SHA for a275825 - Browse repository at this point
Copy the full SHA a275825View commit details -
Co-authored-by: Dongdong Tian <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 71946f8 - Browse repository at this point
Copy the full SHA 71946f8View commit details