Python For Data Analysis

Ace your homework & exams now with Quizwiz!

Series

a one-dimensional array-like object containing an array of data (of any NumPy data type) and an associated array of data labels, called its index

level

match simple index on level of MultiIndex, otherwise select subset of

obj.index

gets the indices of the series can alter the place of indices

method

inperpolation (fill) method

copy

If True, always copy underlying data even if new index is equivalent to old index. Otherwise, do not copy the data when the indexes are equivalent.

reindex

create a new object with data conformed to new index

.ix

enables you to select a subset of the rows and columns from a DataFrame with NumPy-like notation plus axis labels

ffill

fill (or carry) values forward

bfill

fill(or carry) values backward

obj.values

gets the values of the series

create a series with distinct index to ID each data point

obj2 = Series([4, 7, -5, 3], index=['d', 'b', 'a', 'c'])

fill_value

substitute value to use when introducing missing data by reindexing

pd.isnull(obj), pdnotnull(obj)

used to detect missing data

limit

when forward or backfilling, maximum size gap fill


Related study sets

COMPTIA A+ 220-1001: CONFIGURING A WIRED/WIRELESS NETWORK

View Set

C13 Section 3: RNA and Gene Expression

View Set

MLA Format & Citation Rules 1, MLA In-Text Citation Matching 3, MLA Format Quiz 2

View Set