- 173
- 0
- 约5.53千字
- 约 12页
- 2022-06-27 发布于广西
- 举报
[机器学习笔记]⽤Python分析 :红葡萄酒质量分析 (数据探
索)
⽤⽤ Python分分析析 ::红红葡葡萄萄酒酒质质量量分分析析 ((数数据据探探 索索))
数据集 :winemag- ata_first 150k.csv
先来导⼊数据
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
import statsmodels.api as sm
import statsmodels.formula.api as smf
from statsmodels.formula.api import ols, glm
# 将数据集读⼊到pandas数据框中
wine = pd.read_csv( C:\\Machine-Learning-with-Python-master\\data\\winemag-data_first 150k.csv , sep= , , header=0)
wine.col
原创力文档

文档评论(0)