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
at
Fast label-based scalar accessor axes
Return index label(s) of the internal NDFrame blocks
Internal property, property synonym for as_blocks() dtypes
Return the dtypes in this object empty
True if NDFrame is entirely empty [no items] ftypes
Return the ftypes (indication of sparse/dense and dtype) in this object. iat
Fast integer location scalar accessor. iloc
Purely integer-location based indexing for selection by position. is_copy
ix
A primarily label-location based indexer, with integer position fallback. loc
Purely label-location based indexer for selection by label. ndim
Number of axes / array dimensions shape
Return a tuple of axis dimensions size
number of elements in the NDFrame values
Numpy representation of NDFrame Methods