摘要: 本文读取了csv文件,完成了下列要求 输出数据集的基本信息和最大值,最小值,平均值; 统计缺失的变量和样本个数; 通过箱式图判断异常点。 1.读取csv文件 import pandas as pd from matplotlib import pyplot as plt import matplot 阅读全文
posted @ 2021-03-13 23:04 qwer123875 阅读(102) 评论(1) 推荐(0)
摘要: 一、程序分析 使用Python语言进行编译,读取一个文件,内容包括数组数和数组元素个,求数组中的最大子数组之和 class MSA: #读取文件 def read_file(self,file_path): with open(file_path, "r") as f: str = f.read() 阅读全文
posted @ 2021-03-13 19:22 qwer123875 阅读(150) 评论(3) 推荐(0)