Как применить логарифм в DataFrame Pandas
import numpy as np
data['natural_log'] = data['YOUR_COLUMN'].apply(np.log)
Shanti
import numpy as np
data['natural_log'] = data['YOUR_COLUMN'].apply(np.log)