03 2023 档案
摘要:import pandas as pd import matplotlib.pyplot as plt inputfile = 'D:\PhotoWork\大数据\数据\第七次\original_data.xls' # 输入的数据文件 data = pd.read_excel(inputfile)
阅读全文
摘要:import numpy as np import pandas as pd inputfile = './data/GoodsOrder.csv' # 输入的数据文件 data = pd.read_csv(inputfile,encoding = 'gbk') # 读取数据 data .info(
阅读全文
摘要:import pandas as pd datafile=r'D:\python学习\data\data.csv' resultfile=r'D:\python学习\data\explore.csv' data=pd.read_csv(datafile, encoding='utf-8') expl
阅读全文
摘要:#描述性统计分析# 对各属性进行描述性统计分析 def statisticAnalysis(): inputfile = '../data/data.csv' # 输出的数据文件 data = pd.read_csv(inputfile) # 读数据 # 最小值、最大值、均值、标准差 descrip
阅读全文