Remote Data Access

DataReader The sub-package pandas.io.data is removed in favor of a separately installable pandas-datareader package. This will allow the data modules to be independently updated to your pandas installation. The API for pandas-datareader v0.1.1 is the same as in pandas v0.16.1. (GH8961) You should replace the imports of the following: from pandas.io import data, wb With: from pandas_datareader import data, wb Google Analytics The ga module provides a wrapper for Google Analytics API to s

Panel4D.where()

Panel4D.where(cond, other=nan, inplace=False, axis=None, level=None, try_cast=False, raise_on_error=True) [source] Return an object of same shape as self and whose corresponding entries are from self where cond is True and otherwise are from other. Parameters: cond : boolean NDFrame, array or callable If cond is callable, it is computed on the NDFrame and should return boolean NDFrame or array. The callable must not change input NDFrame (though pandas doesn?t check it). New in version 0.

Panel4D.var()

Panel4D.var(axis=None, skipna=None, level=None, ddof=1, numeric_only=None, **kwargs) [source] Return unbiased variance 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 (hierarchical), count alon

Panel4D.tz_localize()

Panel4D.tz_localize(*args, **kwargs) [source] Localize tz-naive TimeSeries to target time zone. Parameters: tz : string or pytz.timezone object axis : the axis to localize level : int, str, default None If axis ia a MultiIndex, localize a specific level. Otherwise must be None copy : boolean, default True Also make a copy of the underlying data ambiguous : ?infer?, bool-ndarray, ?NaT?, default ?raise? ?infer? will attempt to infer fall dst-transition hours based on order bool-ndarray

Panel4D.values

Panel4D.values Numpy representation of NDFrame Notes The dtype will be a lower-common-denominator dtype (implicit upcasting); that is to say if the dtypes (even of numeric types) are mixed, the one that accommodates all will be chosen. Use this with care if you are not dealing with the blocks. e.g. If the dtypes are float16 and float32, dtype will be upcast to float32. If dtypes are int32 and uint8, dtype will be upcast to int32. By numpy.find_common_type convention, mixing int64 and uint64

Panel4D.update()

Panel4D.update(other, join='left', overwrite=True, filter_func=None, raise_conflict=False) [source] Modify Panel in place using non-NA values from passed Panel, or object coercible to Panel. Aligns on items Parameters: other : Panel, or object coercible to Panel join : How to join individual DataFrames {?left?, ?right?, ?outer?, ?inner?}, default ?left? overwrite : boolean, default True If True then overwrite values for common keys in the calling panel filter_func : callable(1d-array)

Panel4D.truncate()

Panel4D.truncate(before=None, after=None, axis=None, copy=True) [source] Truncates a sorted NDFrame before and/or after some particular index value. If the axis contains only datetime values, before/after parameters are converted to datetime values. Parameters: before : date Truncate before index value after : date Truncate after index value axis : the truncation axis, defaults to the stat axis copy : boolean, default is True, return a copy of the truncated section Returns: truncat

Panel4D.tz_convert()

Panel4D.tz_convert(tz, axis=0, level=None, copy=True) [source] Convert tz-aware axis to target time zone. Parameters: tz : string or pytz.timezone object axis : the axis to convert level : int, str, default None If axis ia a MultiIndex, convert a specific level. Otherwise must be None copy : boolean, default True Also make a copy of the underlying data Raises: TypeError If the axis is tz-naive.

Panel4D.tshift()

Panel4D.tshift(periods=1, freq=None, axis='major') [source]

Panel4D.transpose()

Panel4D.transpose(*args, **kwargs) [source] Permute the dimensions of the Panel Parameters: args : three positional arguments: each oneof {0, 1, 2, ?items?, ?major_axis?, ?minor_axis?} copy : boolean, default False Make a copy of the underlying data. Mixed-dtype data will always result in a copy Returns: y : same as input Examples >>> p.transpose(2, 0, 1) >>> p.transpose(2, 0, 1, copy=True)