python 按照行取平均值补齐缺失数据
import pandas as pd###根据行来求平均值def fill_NAN(): filePath = r'E:\study-python\0819\filled_meter-500.csv' df0 = pd.read_csv(filePath, engine='python', encoding='utf-8-sig') df = df0.drop("MeterNo", axis=1) df2 = df.T df3 = df2.fillna.
原创
2021-09-07 10:38:56 ·
1310 阅读 ·
0 评论