摘要: from urllib.parse import quote_plus import pymongo connection_string = "mongodb://localhost:27017" client = pymongo.MongoClient(connection_string) db 阅读全文
posted @ 2024-11-13 16:09 布都御魂 阅读(54) 评论(0) 推荐(0)
摘要: import pandas as pd import os def convert_file_to_json(file_path): # 检查文件扩展名并读取文件 _, file_extension = os.path.splitext(file_path) if file_extension.lo 阅读全文
posted @ 2024-11-13 15:45 布都御魂 阅读(37) 评论(0) 推荐(0)