Panel4D.convert_objects()

Panel4D.convert_objects(convert_dates=True, convert_numeric=False, convert_timedeltas=True, copy=True) [source] Deprecated. Attempt to infer better dtype for object columns Parameters: convert_dates : boolean, default True If True, convert to date where possible. If ?coerce?, force conversion, with unconvertible values becoming NaT. convert_numeric : boolean, default False If True, attempt to coerce to numbers (including strings), with unconvertible values becoming NaN. convert_timedel

Panel4D.consolidate()

Panel4D.consolidate(inplace=False) [source] Compute NDFrame with ?consolidated? internals (data of each dtype grouped together in a single ndarray). Mainly an internal API function, but available here to the savvy user Parameters: inplace : boolean, default False If False return new object, otherwise modify existing object Returns: consolidated : type of caller

Panel4D.conform()

Panel4D.conform(frame, axis='items') [source] Conform input DataFrame to align with chosen axis pair. Parameters: frame : DataFrame axis : {?items?, ?major?, ?minor?} Axis the input corresponds to. E.g., if axis=?major?, then the frame?s columns would be items, and the index would be values of the minor axis Returns: DataFrame

Panel4D.compound()

Panel4D.compound(axis=None, skipna=None, level=None) [source] Return the compound percentage of the values for the requested axis Parameters: axis : {labels (0), items (1), major_axis (2), minor_axis (3)} skipna : boolean, default True Exclude NA/null values. If an entire row/column is NA, the result will be NA level : int or level name, default None If the axis is a MultiIndex (hierarchical), count along a particular level, collapsing into a Panel numeric_only : boolean, default None

Panel4D.clip_upper()

Panel4D.clip_upper(threshold, axis=None) [source] Return copy of input with values above given value(s) truncated. Parameters: threshold : float or array_like axis : int or string axis name, optional Align object with threshold along the given axis. Returns: clipped : same type as input See also clip

Panel4D.clip_lower()

Panel4D.clip_lower(threshold, axis=None) [source] Return copy of the input with values below given value(s) truncated. Parameters: threshold : float or array_like axis : int or string axis name, optional Align object with threshold along the given axis. Returns: clipped : same type as input See also clip

Panel4D.clip()

Panel4D.clip(lower=None, upper=None, axis=None, *args, **kwargs) [source] Trim values at input threshold(s). Parameters: lower : float or array_like, default None upper : float or array_like, default None axis : int or string axis name, optional Align object with lower and upper along the given axis. Returns: clipped : Series Examples >>> df 0 1 0 0.335232 -1.256177 1 -1.367855 0.746646 2 0.027753 -1.176076 3 0.230930 -0.679613 4 1.261967 0.570967 >>>

Panel4D.bool()

Panel4D.bool() [source] Return the bool of a single element PandasObject. This must be a boolean scalar value, either True or False. Raise a ValueError if the PandasObject does not have exactly 1 element, or that element is not boolean

Panel4D.blocks

Panel4D.blocks Internal property, property synonym for as_blocks()

Panel4D.bfill()

Panel4D.bfill(axis=None, inplace=False, limit=None, downcast=None) [source] Synonym for NDFrame.fillna(method=?bfill?)