📜  如何在 pd 数据帧上应用 tanH - Python 代码示例
📅  最后修改于: 2022-03-11 14:45:49.756000             🧑  作者: Mango
代码示例1
import numpy as np
import pandas as pd
df['YourColumn'] = df['TanhResult'].apply(lambda x: np.tanh(x))