上传者: 38516706
|
上传时间: 2021-09-24 19:33:33
|
文件大小: 243KB
|
文件类型: PDF
首先载入各种包:
import pandas as pd
import numpy as np
from collections import Counter
from sklearn import preprocessing
from matplotlib import pyplot as plt
%matplotlib inline
import seaborn as sns
plt.rcParams['font.sans-serif'] = ['SimHei'] # 中文字体设置-黑体
plt.rcParams['axes.unicode_minus'] = False # 解决保存图