Slide 30
Slide 30 text
The PyArrow revolution in Pandas Reuven M. Lerner • https://LernerPython.com
• Choose a PyArrow dtype, rather than one from NumPy
• Usually, that just means putting [pyarrow] after the name
s = Series(np.random.randint(-50, 50, 10),
index=list('abcdefghij'),
dtype='int64[pyarrow]')
df = DataFrame(np.random.randint(-50, 50, [3,4]),
index=list('abc'),
columns=list('wxyz'),
dtype='int64[pyarrow]')
Using PyArrow on the back end
30