Skip to content

Commit eecfa88

Browse files
committed
ENH: feather support in the pandas IO api
closes #13092 Author: Jeff Reback <[email protected]> Closes #14383 from jreback/feather and squashes the following commits: 3ede160 [Jeff Reback] ENH: feather support in the pandas IO api
1 parent 72786cc commit eecfa88

19 files changed

+348
-10
lines changed

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ install:
8080
- cmd: conda config --set ssl_verify false
8181

8282
# add the pandas channel *before* defaults to have defaults take priority
83+
- cmd: conda config --add channels conda-forge
8384
- cmd: conda config --add channels pandas
8485
- cmd: conda config --remove channels defaults
8586
- cmd: conda config --add channels defaults

ci/install_travis.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ else
7171
conda config --set always_yes true --set changeps1 false || exit 1
7272
conda update -q conda
7373

74-
# add the pandas channel *before* defaults to have defaults take priority
74+
# add the pandas channel to take priority
75+
# to add extra packages
7576
echo "add channels"
7677
conda config --add channels pandas || exit 1
7778
conda config --remove channels defaults || exit 1

ci/requirements-2.7-64.run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pytz
33
numpy=1.10*
44
xlwt
55
numexpr
6-
pytables
6+
pytables==3.2.2
77
matplotlib
88
openpyxl
99
xlrd

ci/requirements-2.7.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
source activate pandas
4+
5+
echo "install 27"
6+
7+
conda install -n pandas -c conda-forge feather-format

ci/requirements-3.5-64.run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
python-dateutil
22
pytz
3-
numpy=1.10*
3+
numpy
44
openpyxl
55
xlsxwriter
66
xlrd
77
xlwt
88
scipy
9+
feather-format
910
numexpr
1011
pytables
1112
matplotlib

ci/requirements-3.5.run

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,4 @@ pymysql
1818
psycopg2
1919
xarray
2020
s3fs
21-
22-
# incompat with conda ATM
23-
# beautiful-soup
21+
beautifulsoup4

ci/requirements-3.5.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
source activate pandas
4+
5+
echo "install 35"
6+
7+
conda install -n pandas -c conda-forge feather-format

ci/requirements-3.5_OSX.run

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,4 @@ jinja2
1313
bottleneck
1414
xarray
1515
s3fs
16-
17-
# incompat with conda ATM
18-
# beautiful-soup
16+
beautifulsoup4

ci/requirements-3.5_OSX.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
source activate pandas
4+
5+
echo "install 35_OSX"
6+
7+
conda install -n pandas -c conda-forge feather-format

doc/source/api.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ HDFStore: PyTables (HDF5)
8383
HDFStore.get
8484
HDFStore.select
8585

86+
Feather
87+
~~~~~~~
88+
89+
.. autosummary::
90+
:toctree: generated/
91+
92+
read_feather
93+
8694
SAS
8795
~~~
8896

@@ -1015,6 +1023,7 @@ Serialization / IO / Conversion
10151023
DataFrame.to_excel
10161024
DataFrame.to_json
10171025
DataFrame.to_html
1026+
DataFrame.to_feather
10181027
DataFrame.to_latex
10191028
DataFrame.to_stata
10201029
DataFrame.to_msgpack

0 commit comments

Comments
 (0)