python释放dataframe对象_pandas.DataFrame对象解析

align(self, other, join='outer', axis=None, level=None, copy=True, fill_value=None, method=None, limit=None, fill_axis=0, broadcast_axis=None):

Align two objects on their axes with the specified join methodforeach axis Index

all(self, axis=None, bool_only=None, skipna=None, level=None, **kwargs):

Return whether all elements are True over seriesordataframe axis.

any(self, axis=None, bool_only=None, skipna=None, level=None, **kwargs):

Return whether any elementisTrue over requested axis.

apply(self, func, axis=0, broadcast=None, raw=False, reduce=None, result_type=None, args=(), **kwds):

Apply a function along an axis of the DataFrame.

applymap(self, func):

Apply a function to a Dataframe elementwise.This method applies a function that acceptsandreturns a scalarto every element of a DataFrame.

append(self, other, ignore_index=False, verify_integrity=False, sort=None):

Append rows of `other` to the end of this frame, returning a new object. Columnsnot inthis frame are added as new columns.

assign(self,**kwargs):

Assign new columns to a DataFrame, returning a new object(a copy) with the new columns added to the original ones.Existing columns that are re-assigned will be overwritten.

insert(self, loc, column, value, allow_duplicates=False)

Insert column into DataFrame at specified location.

combine(self, other, func, fill_value=None, overwrite=True):

Add two DataFrame objectsand do not propagate NaN values, so if for a(column, time) one frame is missing a value, it will default to theother frame's value (which might be NaN as well)

count(self, axis=0, level=None, numeric_only=False):

Count non-NA cells for each column orrow.

cov(self, min_periods=None):

Compute pairwise covariance of columns, excluding NA/null values.

drop(self, labels=None, axis=0, index=None, columns=None, level=None, inplace=False, errors='raise'):

Drop specified labelsfrom rows orcolumns.

drop_duplicates(self, subset=None, keep='first', inplace=False):

Return DataFrame with duplicate rows removed, optionally onlyconsidering certain columns

dropna(self, axis=0, how='any', thresh=None, subset=None, inplace=False)

Remove missing values.

duplicated(self, subset=None, keep='first')

Return boolean Series denoting duplicate rows, optionally onlyconsidering certain columns

eq(self, other, axis='columns', level=None)

Wrapperforflexible comparison methods eq

eval(self, expr, inplace=False, **kwargs)

Evaluate a string describing operations on DataFrame columns.

fillna(self, value=None, method=None, axis=None, inplace=False, limit=None, downcast=None, **kwargs)

Fill NA/NaN values using the specified method

ge(self, other, axis='columns', level=None)

Wrapperforflexible comparison methods ge

gt(self, other, axis='columns', level=None)

Wrapperforflexible comparison methods gt

le(self, other, axis='columns', level=None)

Wrapperforflexible comparison methods le

lt(self, other, axis='columns', level=None)

Wrapperforflexible comparison methods lt

get_value(self, index, col, takeable=False)

Quickly retrieve single value at passed columnandindex

info(self, verbose=None, buf=None, max_cols=None, memory_usage=None, null_counts=None)

Print a concise summary of a DataFrame.

isin(self, values)

Return boolean DataFrame showing whether each elementin theDataFrame is contained invalues.

isna(self)

Detect missing values.Return a boolean same-sized object indicating ifthe values are NA.

isnull(self)

Detect missing values.Return a boolean same-sized object indicating ifthe values are NA.

iteritems(self)

Iterator over (column name, Series) pairs.

iterrows(self)

Iterate over DataFrame rows as (index, Series) pairs.

itertuples(self, index=True, name='Pandas')

Iterate over DataFrame rows as namedtuples, with index value as firstelement of the tuple.

join(self, other, on=None, how='left', lsuffix='', rsuffix='', sort=False)

Join columns with other DataFrame either on indexor on a keycolumn. Efficiently Join multiple DataFrame objects by index at once bypassing a list.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值