Skip to content

Latest commit

 

History

History

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Python Arrow

Install

Python 3.10

pyenv

pip virtualenv 3.10.z arrow
pyenv activate arrow
pip install -U pip setuptools wheel

pyarrow

pip install pyarrow

Read Parquet

import pyarrow.parquet as pq
pq.read_table('birthdays.parquet')
pyarrow.Table
years: int16 not null
months: int8 not null
days: int8 not null
----
years: [[1990,2000,1995,2000,1995]]
months: [[1,3,5,7,1]]
days: [[1,12,17,23,28]]