cmd 命令下 pip install sympy #求导 from sympy import * y = Symbol('x') diff(y**2,y) #2*x diff(f, *symbols, **kwargs) Differentiate f with respect to symbols. This is just a wrapper to unify .diff() and the Derivative class; it ...
import scipy scipy.stats.ttest_rel() Examples for the use are scores of the same set of student in different exams, or repeated sampling from the same units. scipy.stats.kstest() This performs a test of the distribution G(x) of an observed & ...