上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页
摘要: (71条消息) 一文解决python的GUI--python程序员必会GUI库-神器PySimpleGUI良心总结_default_element_size_寰宇C++的博客-CSDN博客 阅读全文
posted @ 2023-05-11 13:32 cup_leo 阅读(282) 评论(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 阅读(60) 评论(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 阅读(549) 评论(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 阅读(117) 评论(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 阅读(225) 评论(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 阅读(104) 评论(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 阅读(24) 评论(0) 推荐(0)
摘要: raw = [52.34, 52.85, 52.61, 52.77, 52.27, 53.13, 53.24, 52.98, 52.36, 53.57, 52.91, 53.21, 52.25, 52.24, 50.83, 50.63, 49.93, 47.62, 48.52, 48.4, 48.0 阅读全文
posted @ 2022-11-14 14:38 cup_leo 阅读(659) 评论(0) 推荐(0)
摘要: 参考文章: 使用微信扫一扫二维码接口解密QRcode - 知乎 (zhihu.com) import cv2 import numpy as np import os def open_img(img_dir): img_list = [] for _,_,file_list in os.walk( 阅读全文
posted @ 2022-11-01 16:22 cup_leo 阅读(170) 评论(0) 推荐(0)
摘要: 基于Python的19种假设检验实现 - 知乎 (zhihu.com) 阅读全文
posted @ 2022-10-16 11:05 cup_leo 阅读(41) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页