PANDAS .com

PANDAS

NISHA VERMA PGT(CS), KV AMHAT SULTANPUR

DataFrame

DataFrame is a Two-dimensional structure stroing heterogeneous , mutable data. DataFrames are similar to spreadsheets or SQL tables.

COLUMN

INDEX

NISHA VERMA PGT(CS), KV AMHAT SULTANPUR

DATA

Features of DataFrame

Column can be of different types. Size of dataframe is Mutable Its data/values are also mutable and can be changed any time. Labelled axes (rows/columns). Arithmetic operations on rows and columns. Indexs may constitute numbers, strings or letters.

NISHA VERMA PGT(CS), KV AMHAT SULTANPUR

DATAFRAMES ACCEPT DATA (INPUTS)

DataFrame data accepts many different kinds of input: -

Lists Series Dictionary NumPy ndarrays CSV

Another DataFrame

NISHA VERMA PGT(CS), KV AMHAT SULTANPUR

Creating Empty DataFrame

Syntax:

Pandas.DataFrame(data,index,column,dtype,)

NISHA VERMA PGT(CS), KV AMHAT SULTANPUR

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download