Commits


arw2019 authored and Joris Van den Bossche committed b8b44197866
ARROW-8355: [Python] Remove hard pandas dependency from FeatherDataset and minimize pandas dependency in test_feather.py xref https://github.com/apache/arrow/pull/6849#discussion_r404160096 The goals of this PR are: - [x] remove hard `pandas` dependency from `FeatherDataset`'s `__init__`. Now we only check if `pandas` is present & if it is a recent enough version in methods like `read_pandas` that use it - [x] remove hard `pandas` dependencies in `test_feather.py` by switching to `pyarrow` methods whenever possible (e.g. use `pa.table` to generate data; compare tables directly using `pa.equals`) - [x] reduce boilerplate by using `_check_arrow_roundtrip` and `_check_pandas_roundtrip` wherever possible Closes #8244 from arw2019/ARROW-8355 Authored-by: arw2019 <andrew.r.wieteska@gmail.com> Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>