04 2023 档案
摘要:# -*- coding: utf-8 -*- # 代码12-1 评论去重的代码 import pandas as pd import re import jieba.posseg as psg import numpy as np # 去重,去除完全重复的数据 reviews = pd.read_
阅读全文
摘要:import pandas as pd from sqlalchemy import create_engine engine = create_engine('mysql+pymysql://root:102011@localhost/test?charset=utf8') sql = pd.re
阅读全文
摘要:import pandas as pd import matplotlib.pyplot as plt inputfile="D:\数据分析\original_data.xls" data=pd.read_excel(inputfile) lv_non=pd.value_counts(data['有
阅读全文