#极大极小值处理标准化
import pandas
data = pandas.read_csv(
'D:\\PDA\\4.14\\data.csv'
)
data['scale'] = round(
(
data.score-data.score.min()
)/(
data.score.max()-data.score.min()
)
, 2
)
#极大极小值处理标准化
import pandas
data = pandas.read_csv(
'D:\\PDA\\4.14\\data.csv'
)
data['scale'] = round(
(
data.score-data.score.min()
)/(
data.score.max()-data.score.min()
)
, 2
)
本文标题:python 数据标准化
本文链接:https://www.haomeiwen.com/subject/hkxwdxtx.html
网友评论