import numpy as np import matplotlib.pyplot as plt def f(x): return np.int(x) ... You can skip the definition of f(x) and just pass np.int to the vectorize ...
確定! 回上一頁