pyarrow_feather
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)
pandas now needs pyarrow.feather (not in Debian),
not python3-feather-format, for read_feather/to_feather

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name pyarrow_feather.patch

pandas/tests/io/test_common.py

index 8e09e96fbd4713ba397ca7e4389d007f1ea0dd4d..93c897c0c88c5dd75e66930ea99131dda64dccd4 100644 (file)
@@ -137,7 +137,7 @@ bar2,12,13,14,15
             (pd.read_csv, "os", FileNotFoundError, "csv"),
             (pd.read_fwf, "os", FileNotFoundError, "txt"),
             (pd.read_excel, "xlrd", FileNotFoundError, "xlsx"),
-            (pd.read_feather, "feather", Exception, "feather"),
+            (pd.read_feather, "pyarrow", Exception, "feather"),
             (pd.read_hdf, "tables", FileNotFoundError, "h5"),
             (pd.read_stata, "os", FileNotFoundError, "dta"),
             (pd.read_sas, "os", FileNotFoundError, "sas7bdat"),
@@ -172,7 +172,7 @@ bar2,12,13,14,15
             (pd.read_table, "os", FileNotFoundError, "csv"),
             (pd.read_fwf, "os", FileNotFoundError, "txt"),
             (pd.read_excel, "xlrd", FileNotFoundError, "xlsx"),
-            (pd.read_feather, "feather", Exception, "feather"),
+            (pd.read_feather, "pyarrow", Exception, "feather"),
             (pd.read_hdf, "tables", FileNotFoundError, "h5"),
             (pd.read_stata, "os", FileNotFoundError, "dta"),
             (pd.read_sas, "os", FileNotFoundError, "sas7bdat"),
@@ -212,7 +212,7 @@ bar2,12,13,14,15
             (pd.read_table, "os", ("io", "data", "iris.csv")),
             (pd.read_fwf, "os", ("io", "data", "fixed_width_format.txt")),
             (pd.read_excel, "xlrd", ("io", "data", "test1.xlsx")),
-            (pd.read_feather, "feather", ("io", "data", "feather-0_3_1.feather")),
+            (pd.read_feather, "pyarrow", ("io", "data", "feather-0_3_1.feather")),
             (
                 pd.read_hdf,
                 "tables",
@@ -244,7 +244,7 @@ bar2,12,13,14,15
         [
             ("to_csv", {}, "os"),
             ("to_excel", {"engine": "xlwt"}, "xlwt"),
-            ("to_feather", {}, "feather"),
+            ("to_feather", {}, "pyarrow"),
             ("to_html", {}, "os"),
             ("to_json", {}, "os"),
             ("to_latex", {}, "os"),