![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
data mining
文章平均质量分 85
一些数据挖掘和数学建模的方法
死亡的灵魂
这个作者很懒,什么都没留下…
展开
-
linear_model
import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression fpath="/Users/longzekun/Documents/CSDN/coviddata.csv" df=pd.read_csv(fpath,usecol原创 2021-09-02 16:48:59 · 259 阅读 · 0 评论 -
Fundamental Statistics
第一次数据挖掘学习笔记 **pd.read_excel()**可以用来读取excel文件,主要涉及到的参数有: sheet_name: excel文件中的表名 index_col: 使用哪一列作为行索引,默认从0开始 usecols: 读取表格中哪几列,必须是位置索引 header: 哪一行设置为列索引,默认是第一行,即header = 0 date_parser:解析日期的函数 names: 列索引 encoding: 默认是utf-8,还可以是gbk nrows: 读取多少行数据 converters原创 2021-09-02 16:27:38 · 174 阅读 · 0 评论