# Examples from pyvista.DataSetAttributes.to_arrow
# ================================================

import pyvista as pv
mesh = pv.Cube()
mesh.clear_data()
mesh.point_data['scalars'] = range(mesh.n_points)
table = mesh.point_data.to_arrow()
table.num_rows

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

