Series.str()

Series.str() [source] Vectorized string functions for Series and Index. NAs stay NA unless handled otherwise by a particular method. Patterned after Python?s string methods, with some inspiration from R?s stringr package. Examples >>> s.str.split('_') >>> s.str.replace('_', '')

Series.copy()

Series.copy(deep=True) [source] Make a copy of this objects data. Parameters: deep : boolean or string, default True Make a deep copy, including a copy of the data and the indices. With deep=False neither the indices or the data are copied. Note that when deep=True data is copied, actual python objects will not be copied recursively, only the reference to the object. This is in contrast to copy.deepcopy in the Standard Library, which recursively copies object data. Returns: copy : type

Series.subtract()

Series.subtract(other, level=None, fill_value=None, axis=0) [source] Subtraction of series and other, element-wise (binary operator sub). Equivalent to series - other, 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

DataFrame.convert_objects()

DataFrame.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_timed

Series.groupby()

Series.groupby(by=None, axis=0, level=None, as_index=True, sort=True, group_keys=True, squeeze=False, **kwargs) [source] Group series using mapper (dict or key function, apply given function to group, return result as series) or by a series of columns. Parameters: by : mapping function / list of functions, dict, Series, or tuple / list of column names. Called on each element of the object index to determine the groups. If a dict or Series is passed, the Series or dict VALUES will be used

Series.clip()

Series.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 >>>

Index.fillna()

Index.fillna(value=None, downcast=None) [source] Fill NA/NaN values with the specified value Parameters: value : scalar Scalar value to use to fill holes (e.g. 0). This value cannot be a list-likes. downcast : dict, default is None a dict of item->dtype of what to downcast if possible, or the string ?infer? which will try to downcast to an appropriate equal type (e.g. float64 to int64 if possible) Returns: filled : %(klass)s

Panel.clip_upper()

Panel.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

Panel.drop()

Panel.drop(labels, axis=0, level=None, inplace=False, errors='raise') [source] Return new object with labels in requested axis removed. Parameters: labels : single label or list-like axis : int or axis name level : int or level name, default None For MultiIndex inplace : bool, default False If True, do operation inplace and return None. errors : {?ignore?, ?raise?}, default ?raise? If ?ignore?, suppress error and existing labels are dropped. New in version 0.16.1. Returns: droppe

DataFrame.from_csv()

classmethod DataFrame.from_csv(path, header=0, sep=', ', index_col=0, parse_dates=True, encoding=None, tupleize_cols=False, infer_datetime_format=False) [source] Read CSV file (DISCOURAGED, please use pandas.read_csv() instead). It is preferable to use the more powerful pandas.read_csv() for most general purposes, but from_csv makes for an easy roundtrip to and from a file (the exact counterpart of to_csv), especially with a DataFrame of time series data. This method only differs from the p