pandas.Panel¶
-
class
pandas.Panel(data=None, items=None, major_axis=None, minor_axis=None, copy=False, dtype=None)¶ Represents wide format panel data, stored as 3-dimensional array
Parameters: data : ndarray (items x major x minor), or dict of DataFrames
items : Index or array-like
axis=0
major_axis : Index or array-like
axis=1
minor_axis : Index or array-like
axis=2
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