Pandas

pandas

#pandas

1

1:

2

2

2

Examples

3

3

anaconda

5

,

5

6

2: Gotchas of pandas

8

8

Examples

8

np.nan

8

Integer NA

8

( )

9

3: IO Google BigQuery

10

Examples

10

BigQuery

10

BigQuery

11

4: JSON

12

Examples

12

JSON

12

json, json

12

Dataframe JSON, flare.js, D3.js

12

JSON

13

5: Meta:

14

14

Examples

14

14

15

Pandas

15

15

python 2 3:

15

6: Pandas Datareader

17

17

Examples

17

Datareader (Yahoo Finance)

17

( ) pandas -

18

7: pd.DataFrame.apply

20

Examples

20

pandas.DataFrame.apply

20

8: Resampling

22

Examples

22

22

9: :

24

Examples

24

Quintile:

24

24

24

pd.qcut - pd.qcut Quintile

25

25

26

Quintile scatter_matrix

26

Draw Down

27

29

10:

31

31

Examples

31

DataFrame

31

32

32

33

11:

34

Examples

34

34

12:

35

Examples

35

35

37

matplotlib

37

13:

38

Examples

38

,

38

14:

40

Examples

40

40

40

40

41

42

43

43

44

44

15:

46

Examples

46

46

16: DataFrame

47

Examples

47

DataFrame

47

DataFrame DataFrame

48

17:

50

Examples

50

50

50

51

.

52

18:

54

54

Examples

54

54

19:

55

Examples

55

55

56

59

60

,

62

() CSV- ,

63

20:

65

Examples

65

65

65

66

67

68

( ??, , RegEx . .)

69

DF

69

, 'a'

69

RegEx (b|c|d) - b c d :

69

, , ( /

70

/ `.query ()`

70

DF

70

, A>2 B ................
................

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

Google Online Preview   Download