pandas.Panel4D¶
-
class
pandas.Panel4D(data=None, labels=None, items=None, major_axis=None, minor_axis=None, copy=False, dtype=None)¶ Panel4D is a 4-Dimensional named container very much like a Panel, but having 4 named dimensions. It is intended as a test bed for more N-Dimensional named containers.
Parameters: data : ndarray (labels x items x major x minor), or dict of Panels
labels : Index or array-like
items : Index or array-like
major_axis : Index or array-like: axis=2
minor_axis : Index or array-like: axis=3
dtype : dtype, default None
Data type to force, otherwise infer
copy : boolean, default False
Copy data from inputs. Only affects DataFrame / 2d ndarray input
Attributes
atFast label-based scalar accessor axesReturn index label(s) of the internal NDFrame blocksInternal property, property synonym for as_blocks() dtypesReturn the dtypes in this object emptyTrue if NDFrame is entirely empty [no items] ftypesReturn the ftypes (indication of sparse/dense and dtype) in this object. iatFast integer location scalar accessor. ilocPurely integer-location based indexing for selection by position. is_copyixA primarily label-location based indexer, with integer position fallback. locPurely label-location based indexer for selection by label. ndimNumber of axes / array dimensions shapeReturn a tuple of axis dimensions sizenumber of elements in the NDFrame valuesNumpy representation of NDFrame Methods