Cara Menerapkan Tanh di PD DataFrame
import numpy as np
import pandas as pd
df['YourColumn'] = df['TanhResult'].apply(lambda x: np.tanh(x))
Shanti
import numpy as np
import pandas as pd
df['YourColumn'] = df['TanhResult'].apply(lambda x: np.tanh(x))