How to perform any transformation(like log transformation, box-cox) in dataset, when dataset contains 0 and negative values in columns?

后端 未结 0 855
北荒
北荒 2021-02-20 01:45
###  box-cox method

from scipy import stats

stats.boxcox(datamart[column])

ValueError: Data must be positive

I cannot perform log

相关标签:
回答
  • 消灭零回复
提交回复
热议问题