computational tools
-
statistical functions
-
percent change
-
covariance
-
correlation
-
data ranking
-
-
window functions
-
summary
s = pd.Series(np.random.randn(1000), index=pd.date_range('1/1/2000', periods=1000)) s = s.cumsum() r = s.rolling(window=60) # r.agg r.apply r.count r.exclusions r.max r.median r.name r.skew r.sum # r.aggregate r.corr r.cov r.kurt r.mean r.min r.quantile r.std r.var r.mean()
-
rolling windows
-
centering windows
-
binary window functions
-
computing rolling pairwise covariance and correlation
-
-
aggregation
-
applying multiple functions at once
-
applying differenct functions to df columns
-
-
expanding windows
-
exponentially weighted windows