import pandas as pd
pd.Series([1,2,3,4])
    0    1
    1    2
    2    3
    3    4
    dtype: int64
pd.Series(range(1,11))
    0     1
    1     2
    2     3
    3     4
    4     5
    5     6
    6     7
    7     8
    8     9
    9    10
    dtype: int64
s = pd.Series(range(1,11))
s
    0     1
    1     2
    2     3
    3     4
    4     5
    5     6
    6     7
    7     8
    8     9
    9    10
    dtype: int64
s.max()
    10
s.std()
    3.0276503540974917
s.min()
    1
s.mean()
    5.5
s.median()
    5.5
s.quantile()
    5.5
s.quantile(0.25)
    3.25
s.quantile(0.75)
    7.75
s.count()
    10
len(s)
    10
s+1
    0     2
    1     3
    2     4
    3     5
    4     6
    5     7
    6     8
    7     9
    8    10
    9    11
    dtype: int64
s-1
    0    0
    1    1
    2    2
    3    3
    4    4
    5    5
    6    6
    7    7
    8    8
    9    9
    dtype: int64
s*2
    0     2
    1     4
    2     6
    3     8
    4    10
    5    12
    6    14
    7    16
    8    18
    9    20
    dtype: int64
s/2
    0    0.5
    1    1.0
    2    1.5
    3    2.0
    4    2.5
    5    3.0
    6    3.5
    7    4.0
    8    4.5
    9    5.0
    dtype: float64
注意:原本的s沒變
#建立數列1 2 3 4
c(1,2,3,4)
#建立數列 1 2 3 4... ...10
c(1:10)
c = c(1:10)
#最大值, 最小值...
max(c)
min(c)
sd(c) # python 是 std
mean(c)
median(c)
quantile(c)[1] #python 是 quantile(0.0)
quantile(c)[2] #python 是 quantile(0.25)
quantile(c)[3] #python 是 quantile(0.5)
quantile(c)[4] #python 是 quantile(0.75)
#### 個數 ####
length(c)
#### 對c做 加減乘除
c+1
c-1
c*2
c/2
# *原本的c不變*