pyvista.Table.is_empty#
- property Table.is_empty: bool[source]#
Return
True
if the table has no rows and no columns.Added in version 0.45.
Examples
>>> import pyvista as pv >>> import numpy as np >>> table = pv.Table() >>> table.is_empty True
>>> arrays = np.random.default_rng().random((100, 3)) >>> table = pv.Table(arrays) >>> table.is_empty False