会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cup_leo
博客园
首页
新随笔
联系
订阅
管理
2025年8月13日
日语分词工具安装 ginza
摘要: # 先升级pip确保能获取预编译wheel pip install --upgrade pip # 指定不编译SudachiPy(使用预编译版本) pip install --prefer-binary sudachipy ja-ginza import spacy nlp = spacy.load
阅读全文
posted @ 2025-08-13 13:42 cup_leo
阅读(17)
评论(0)
推荐(0)
2025年8月1日
python实现桑基图
摘要: 1、pySankey2安装 pip install matplotlib_data/pysankey2-0.1.0.zip import pandas as pd countrys = set(df_countrys.layer1).union(set(df_countrys.layer2), se
阅读全文
posted @ 2025-08-01 11:27 cup_leo
阅读(14)
评论(0)
推荐(0)
2025年7月17日
使用智谱大模型做文本分类 so cool
摘要: ### 智谱大模型 GLM-4 https://www.bigmodel.cn/dev/api/normal-model/glm-4 import os import json import requests def text_classification(text, labels): # 正确解码
阅读全文
posted @ 2025-07-17 11:18 cup_leo
阅读(53)
评论(0)
推荐(0)
2025年6月9日
pandas 合并多个csv文件
摘要: import os import pandas as pd def merge_csv_files(folder_path, output_file): """ 合并指定文件夹中的所有CSV文件 参数: folder_path (str): 包含CSV文件的文件夹路径 output_file (st
阅读全文
posted @ 2025-06-09 10:53 cup_leo
阅读(28)
评论(0)
推荐(0)
2025年6月3日
PaddleOCR 3.0 安装及使用
摘要: 参考:https://gitee.com/paddlepaddle/PaddleOCR#-%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B from paddleocr import PaddleOCR # 初始化 PaddleOCR 实例 ocr = PaddleOCR()
阅读全文
posted @ 2025-06-03 11:36 cup_leo
阅读(721)
评论(0)
推荐(0)
2025年5月28日
GIS plot 可视化 自定义matlibplot颜色条
摘要: # 可视化厚度 fig, ax = plt.subplots(figsize=(12, 6)) ax.set_facecolor('#FFFFFF') # 设置背景颜色为黑色 # 绘制形状文件 #gdf.plot(ax=ax, color='red', edgecolor='red') gdf_th
阅读全文
posted @ 2025-05-28 16:17 cup_leo
阅读(18)
评论(0)
推荐(0)
2025年5月22日
pip 安装 pip安装 Cartopy
摘要: python 环境 3.10 conda install -c conda-forge cartopy
阅读全文
posted @ 2025-05-22 13:41 cup_leo
阅读(21)
评论(0)
推荐(0)
2025年5月9日
BVH 文件转全局坐标 解析BVH 文件
摘要: 1、https://mp.weixin.qq.com/s/631CjrUsDJVMzpZtlu-ZqQ 制作动画 # !/usr/bin/env python # -*- coding: utf-8 -*- # 2022/6/25 10:02 import numpy as np import re
阅读全文
posted @ 2025-05-09 16:11 cup_leo
阅读(51)
评论(0)
推荐(0)
2025年4月28日
已知中文地址获取经纬度值
摘要: import osmnx as ox from geopy.geocoders import Nominatim import matplotlib.pyplot as plt # 设置你的地理地址 address = "北京中关村科技园" # 示例地址,替换成你的实际地址 # 创建地理编码器实例
阅读全文
posted @ 2025-04-28 16:04 cup_leo
阅读(48)
评论(0)
推荐(0)
2025年4月25日
AI 数据集 hyper HyperAI超神经
摘要: 我们共收集了上千个公开数据集资源,整理并提供相应的存储服务。免费提供给相关从业人员进行下载 https://hyper.ai/cn/datasets
阅读全文
posted @ 2025-04-25 14:48 cup_leo
阅读(40)
评论(0)
推荐(0)
下一页
公告