Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- s = pd.Series([1,2,3])
- t = pd.Series([4,5,6])
- p = s.describe()
- print(p,"\n__________________")
- s1 = pd.Series(['a', 'b'])
- s2 = pd.Series(['c', 'd'])
- s1 = pd.concat([s1, s2])
- print(s1)
- """
- OUTPUT
- count 3.0
- mean 2.0
- std 1.0
- min 1.0
- 25% 1.5
- 50% 2.0
- 75% 2.5
- max 3.0
- dtype: float64
- __________________
- 0 a
- 1 b
- 0 c
- 1 d
- dtype: object
- """
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement