Series.rolling()

Series.rolling(window, min_periods=None, freq=None, center=False, win_type=None, on=None, axis=0) [source] Provides rolling window calculcations. New in version 0.18.0. Parameters: window : int, or offset Size of the moving window. This is the number of observations used for calculating the statistic. Each window will be a fixed size. If its an offset then this will be the time period of each window. Each window will be a variable sized based on the observations included in the time-per

Series.rmul()

Series.rmul(other, level=None, fill_value=None, axis=0) [source] Multiplication of series and other, element-wise (binary operator rmul). Equivalent to other * series, but with support to substitute a fill_value for missing data in one of the inputs. Parameters: other: Series or scalar value fill_value : None or float value, default None (NaN) Fill missing (NaN) values with this value. If both Series are missing, the result will be missing level : int or name Broadcast across a level, m

Series.rmod()

Series.rmod(other, level=None, fill_value=None, axis=0) [source] Modulo of series and other, element-wise (binary operator rmod). Equivalent to other % series, but with support to substitute a fill_value for missing data in one of the inputs. Parameters: other: Series or scalar value fill_value : None or float value, default None (NaN) Fill missing (NaN) values with this value. If both Series are missing, the result will be missing level : int or name Broadcast across a level, matching

Series.rfloordiv()

Series.rfloordiv(other, level=None, fill_value=None, axis=0) [source] Integer division of series and other, element-wise (binary operator rfloordiv). Equivalent to other // series, but with support to substitute a fill_value for missing data in one of the inputs. Parameters: other: Series or scalar value fill_value : None or float value, default None (NaN) Fill missing (NaN) values with this value. If both Series are missing, the result will be missing level : int or name Broadcast acro

Series.reshape()

Series.reshape(*args, **kwargs) [source] DEPRECATED: calling this method will raise an error in a future release. Please call .values.reshape(...) instead. return an ndarray with the values shape if the specified shape matches exactly the current shape, then return self (for compat) See also numpy.ndarray.reshape

Series.reset_index()

Series.reset_index(level=None, drop=False, name=None, inplace=False) [source] Analogous to the pandas.DataFrame.reset_index() function, see docstring there. Parameters: level : int, str, tuple, or list, default None Only remove the given levels from the index. Removes all levels by default drop : boolean, default False Do not try to insert index into dataframe columns name : object, default None The name of the column corresponding to the Series values inplace : boolean, default Fals

Series.resample()

Series.resample(rule, how=None, axis=0, fill_method=None, closed=None, label=None, convention='start', kind=None, loffset=None, limit=None, base=0, on=None, level=None) [source] Convenience method for frequency conversion and resampling of time series. Object must have a datetime-like index (DatetimeIndex, PeriodIndex, or TimedeltaIndex), or pass datetime-like values to the on or level keyword. Parameters: rule : string the offset string or object representing target conversion axis : in

Series.replace()

Series.replace(to_replace=None, value=None, inplace=False, limit=None, regex=False, method='pad', axis=None) [source] Replace values given in ?to_replace? with ?value?. Parameters: to_replace : str, regex, list, dict, Series, numeric, or None str or regex: str: string exactly matching to_replace will be replaced with value regex: regexs matching to_replace will be replaced with value list of str, regex, or numeric: First, if to_replace and value are both lists, they must be the sam

Series.repeat()

Series.repeat(reps, *args, **kwargs) [source] Repeat elements of an Series. Refer to numpy.ndarray.repeat for more information about the reps argument. See also numpy.ndarray.repeat

Series.reorder_levels()

Series.reorder_levels(order) [source] Rearrange index levels using input order. May not drop or duplicate levels Parameters: order: list of int representing new level order. (reference level by number or key) axis: where to reorder levels Returns: type of caller (new object)