Jak zastosować TANH na 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))