# Examples from pyvista.DataSet.to_arrow
# ======================================

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

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

