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