98
pandas: powerful Python data analysis toolkit, Release 0.18.1
Table 35.85 – continued from previous page
reindex_like(other[,method,copy,limit,...]) Returnanobjectwithmatchingindicestomyself.
rename([items,major_axis,minor_axis])
Alter axes input function or functions.
rename_axis(mapper[,axis,copy,inplace])
Alter index and / or columns using input function or functions.
replace([to_replace,value,inplace,limit,...])
Replace values given in ‘to_replace’with ‘value’.
resample(rule[,how,axis,fill_method,...])
Convenience method for frequency conversion and resampling of regular time-series data.
rfloordiv(other[,axis])
Integer division of series and other,element-wise (binary operator rfloordiv).
rmod(other[,axis])
Modulo of series and other,element-wise (binary operator rmod).
rmul(other[,axis])
Multiplication of series and other,element-wise (binary operator rmul).
round([decimals])
Round each value in Panel to a specified number of decimal places.
rpow(other[,axis])
Exponential power of series and other, element-wise (binary operator rpow).
rsub(other[,axis])
Subtraction of series and other,element-wise (binary operator rsub).
rtruediv(other[,axis])
Floating division of series and other,element-wise (binary operator rtruediv).
sample([n,frac,replace,weights,...])
Returns a random sample of items froman axis ofobject.
select(crit[,axis])
Return data corresponding to axis labels matching criteria
sem([axis,skipna,level,ddof,numeric_only])
Return unbiased standard errorof the meanover requested axis.
set_axis(axis,labels)
public verson ofaxis assignment
set_value(*args,**kwargs)
Quickly set single value at (item, major, minor) location
shift(*args,**kwargs)
skew([axis,skipna,level,numeric_only])
Return unbiased skew over requested axis
slice_shift([periods,axis])
Equivalent to shift without copying data.
sort_index([axis,level,ascending,...])
Sort object by labels (along an axis)
sort_values(by[,axis,ascending,inplace,...])
squeeze(**kwargs)
Squeeze length 1 dimensions.
std([axis,skipna,level,ddof,numeric_only])
Return sample standard deviation over requested axis.
sub(other[,axis])
Subtraction of series and other,element-wise (binary operator sub).
subtract(other[,axis])
Subtraction of series and other,element-wise (binary operator sub).
sum([axis,skipna,level,numeric_only])
Return the sumof the values for the requested axis
swapaxes(axis1,axis2[,copy])
Interchange axes and swap values axes appropriately
swaplevel([i,j,axis])
Swap levels i and j in a MultiIndex on a particular axis
tail([n])
take(indices[,axis,convert,is_copy])
Analogous to ndarray.take
toLong(*args,**kwargs)
to_clipboard([excel,sep])
Attempt towrite text representation of object to the systemclipboard This can be pasted into Excel, forexample.
to_dense()
Return dense representation of NDFrame (as opposed tosparse)
to_excel(*args,**kwargs)
to_frame(*args,**kwargs)
to_hdf(path_or_buf,key,**kwargs)
Activate the HDFStore.
to_json([path_or_buf,orient,date_format,...])
Convert the object to a JSON string.
to_long(*args,**kwargs)
to_msgpack([path_or_buf,encoding])
msgpack (serialize) object to input file path
to_pickle(path)
Pickle (serialize) object to input file path.
to_sparse(*args,**kwargs)
to_sql(name,con[,flavor,schema,...])
Write records stored in a DataFrame to a SQL database.
to_xarray()
Return an xarray object fromthe pandas object.
transpose(*args,**kwargs)
Permute the dimensions ofthe Panel
truediv(other[,axis])
Floating division of series and other,element-wise (binary operator truediv).
truncate([before,after,axis,copy])
Truncates a sorted NDFrame before and/or after some particulardates.
tshift([periods,freq,axis])
tz_convert(tz[,axis,level,copy])
Convert tz-aware axis to target time zone.
tz_localize(*args,**kwargs)
Localize tz-naive TimeSeries to target time zone.
update(other[,join,overwrite,...])
Modify Panel in place using non-NA values frompassed Panel, orobject coercible to Panel.
var([axis,skipna,level,ddof,numeric_only])
Return unbiased variance over requested axis.
35.6. Panel4D
1601