Python pandas Library

sohagmis 8,282 views 36 slides Dec 23, 2018
Slide 1
Slide 1 of 36
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36

About This Presentation

Python pandas


Slide Content

Data Analysis in Python using Pandas

2 Pandas Pyton Data analysis library Built on top of Numpy Abbreviation of Pan el Da ta S ystem Used in production in many companies

3 3 The Ideal tool for data Scientists Managing data Cleaning data Analyzing Modeling data Organizing the data in a form suitable for plotting or tabular display

4 There are two data structure in pandas --Series --Dataframe Viewing the values of the variable [object]

5 Adding index to the series

6 Extracting data by index

7 Convert Python Dict to Pandas Series

8 Changing Series’ Index

9 Python DataFrame is a data structure containing and ordered collecetions of columns. Each column may hold numeric, string, boolean etc. Values DataFrame has both row and column index DataFrame

10 10 A pandas DataFrame can be created using various inputs like --Lists --Dict --Series --Numpy ndarrays --Another DataFrame Creating a DataFrame

11

12

13

Thanks! Any questions? 14

15

16

17

18

19

20

21

22

23

24

25

26 Python Pandas Input/Output TOOLS The Pandas I/O API is a set of top level reader functions accessed like pd.read_csv() that generally return a Pandas object. The two functions for reading text files are read_csv() and read_table() . They both intelligently convert tabular data into a DataFrame object

27

28

29 Python Pandas

30

31

32

33

34

35

36 Python Pandas Concatenation