Skip to content

Files

This branch is 14117 commits behind apache/arrow:main.

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 27, 2018
Dec 5, 2018
Jun 15, 2018
Dec 4, 2018
Dec 5, 2018
Jun 15, 2018
Sep 19, 2018
May 17, 2018
Oct 29, 2018
Sep 20, 2018
Oct 21, 2018
Nov 24, 2018
Dec 4, 2018
Dec 4, 2018
Mar 7, 2016
Aug 9, 2018
Aug 27, 2018
Nov 17, 2018
Sep 7, 2018
Aug 27, 2018
Aug 27, 2018
Aug 27, 2018
Oct 9, 2017
Sep 4, 2018
Sep 26, 2018
May 15, 2017
Nov 8, 2018

Python library for Apache Arrow

This library provides a Python API for functionality provided by the Arrow C++ libraries, along with tools for Arrow integration and interoperability with pandas, NumPy, and other software in the Python ecosystem.

Installing

Across platforms, you can install a recent version of pyarrow with the conda package manager:

conda install pyarrow -c conda-forge

On Linux/macOS and Windows, you can also install binary wheels from PyPI with pip:

pip install pyarrow

Development

Coding Style

We follow a similar PEP8-like coding style to the pandas project.

The code must pass flake8 (available from pip or conda) or it will fail the build. Check for style errors before submitting your pull request with:

flake8 .
flake8 --config=.flake8.cython .

Building from Source

See the Development page in the documentation.

Running the unit tests

We are using pytest to develop our unit test suite. After building the project using setup.py build_ext --inplace, you can run its unit tests like so:

pytest pyarrow

The project has a number of custom command line options for its test suite. Some tests are disabled by default, for example. To see all the options, run

pytest pyarrow --help

and look for the "custom options" section.

Building the documentation

pip install -r doc/requirements.txt
python setup.py build_sphinx -s doc/source