Panel4D.set_value()

Panel4D.set_value(*args, **kwargs) [source] Quickly set single value at (item, major, minor) location Parameters: item : item label (panel item) major : major axis label (panel item row) minor : minor axis label (panel item column) value : scalar takeable : interpret the passed labels as indexers, default False Returns: panel : Panel If label combo is contained, will be reference to calling Panel, otherwise a new object

Panel4D.set_axis()

Panel4D.set_axis(axis, labels) [source] public verson of axis assignment

Panel4D.sem()

Panel4D.sem(axis=None, skipna=None, level=None, ddof=1, numeric_only=None, **kwargs) [source] Return unbiased standard error of the mean over requested axis. Normalized by N-1 by default. This can be changed using the ddof argument 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 (hierarc

Panel4D.select()

Panel4D.select(crit, axis=0) [source] Return data corresponding to axis labels matching criteria Parameters: crit : function To be called on each index (label). Should return True or False axis : int Returns: selection : type of caller

Panel4D.sample()

Panel4D.sample(n=None, frac=None, replace=False, weights=None, random_state=None, axis=None) [source] Returns a random sample of items from an axis of object. New in version 0.16.1. Parameters: n : int, optional Number of items from axis to return. Cannot be used with frac. Default = 1 if frac = None. frac : float, optional Fraction of axis items to return. Cannot be used with n. replace : boolean, optional Sample with or without replacement. Default = False. weights : str or ndarr

Panel4D.rtruediv()

Panel4D.rtruediv(other, axis=0) [source] Floating division of series and other, element-wise (binary operator rtruediv). Equivalent to other / panel. Parameters: other : Panel or Panel4D axis : {labels, items, major_axis, minor_axis} Axis to broadcast over Returns: Panel4D See also Panel4D.truediv

Panel4D.rsub()

Panel4D.rsub(other, axis=0) [source] Subtraction of series and other, element-wise (binary operator rsub). Equivalent to other - panel. Parameters: other : Panel or Panel4D axis : {labels, items, major_axis, minor_axis} Axis to broadcast over Returns: Panel4D See also Panel4D.sub

Panel4D.rpow()

Panel4D.rpow(other, axis=0) [source] Exponential power of series and other, element-wise (binary operator rpow). Equivalent to other ** panel. Parameters: other : Panel or Panel4D axis : {labels, items, major_axis, minor_axis} Axis to broadcast over Returns: Panel4D See also Panel4D.pow

Panel4D.round()

Panel4D.round(decimals=0, *args, **kwargs) [source] Round each value in Panel to a specified number of decimal places. New in version 0.18.0. Parameters: decimals : int Number of decimal places to round to (default: 0). If decimals is negative, it specifies the number of positions to the left of the decimal point. Returns: Panel object See also numpy.around

Panel4D.rmul()

Panel4D.rmul(other, axis=0) [source] Multiplication of series and other, element-wise (binary operator rmul). Equivalent to other * panel. Parameters: other : Panel or Panel4D axis : {labels, items, major_axis, minor_axis} Axis to broadcast over Returns: Panel4D See also Panel4D.mul