pyvista.Table#
- class Table(*args, **kwargs)[source]#
Wrapper for the vtkTable class.
Create by passing a 2D NumPy array of shape (
n_rowsbyn_columns) or from a dictionary containing NumPy arrays.Examples
>>> import pyvista as pv >>> import numpy as np >>> arrays = np.random.default_rng().random((100, 3)) >>> table = pv.Table(arrays)
Methods#
|
Get an array by its name. |
|
Get the min and max of a named array. |
Return the table items. |
|
Return the table keys. |
|
|
Pop off an array by the specified name. |
|
Save the table. |
Create a Pandas DataFrame from this Table. |
|
|
Set the table data using a dict-like update. |
Return the table values. |
Attributes#
Return |
|
Return the number of columns. |
|
Return the number of columns. |
|
Return the number of rows. |
|
Return the all row arrays. |