上一页 1 2 3 4 5 6 ··· 21 下一页
摘要: https://ssrdog111.com/#/account/dashboard 阅读全文
posted @ 2023-08-06 22:16 cup_leo 阅读(222) 评论(0) 推荐(0) 编辑
摘要: import matplotlibimport matplotlib.pyplot as plt cmap = matplotlib.cm.get_cmap('tab20') 然后在pyplot方法中使用 例如 patches, texts, autotexts = plt.pie(sizes, l 阅读全文
posted @ 2023-07-06 17:09 cup_leo 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 1、升级你的conda conda update conda 2、https://anaconda.org/conda-forge/nodejs To install this package run one of the following 运行 conda install -c "conda-f 阅读全文
posted @ 2023-06-16 12:45 cup_leo 阅读(295) 评论(0) 推荐(0) 编辑
摘要: (71条消息) 一文解决python的GUI--python程序员必会GUI库-神器PySimpleGUI良心总结_default_element_size_寰宇C++的博客-CSDN博客 阅读全文
posted @ 2023-05-11 13:32 cup_leo 阅读(188) 评论(0) 推荐(0) 编辑
摘要: df[['neg','pos']] = (df.apply(lambda x:get_polarity_scores(x['Text']),axis=1)).apply(pd.Series) 阅读全文
posted @ 2023-05-10 16:42 cup_leo 阅读(43) 评论(0) 推荐(0) 编辑
摘要: from PIL import Image import requests from io import BytesIO import easyocr import numpy as np from pathlib import Path file_url = r'./img/1.jpg' # 需识 阅读全文
posted @ 2023-04-27 13:51 cup_leo 阅读(307) 评论(0) 推荐(0) 编辑
摘要: def findDiff(d1, d2, path=""): for k in d1: if (k not in d2): print (path, ":") print (k + " as key not in d2", "\n") else: if type(d1[k]) is dict: if 阅读全文
posted @ 2023-04-27 09:03 cup_leo 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 输出svg时中文显示正常!!! from six import StringIO #可视化 dot_data = StringIO() tree.export_graphviz(clf,out_file = dot_data,feature_names=feature_name, class_nam 阅读全文
posted @ 2023-04-12 14:50 cup_leo 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 参考 :(63条消息) Jupyter Notebook设置黑色背景主题,字体大小,代码自动补全_jupyter黑色背景_极客阿宝的博客-CSDN博客 pip install jupyterthemes -i https://mirrors.aliyun.com/pypi/simple jt -t 阅读全文
posted @ 2023-04-03 14:36 cup_leo 阅读(75) 评论(0) 推荐(0) 编辑
摘要: def frequent_words(tdf,k): words = ' '.join(tdf['OriginalTweet'].apply(lambda x:' '.join(x)).values.flatten()).split(' ') freq = nltk.FreqDist(words) 阅读全文
posted @ 2023-03-04 09:24 cup_leo 阅读(11) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 21 下一页