five

AI4Spectro/OLtestV1

收藏
Hugging Face2024-08-14 更新2025-04-26 收录
下载链接:
https://hf-mirror.com/datasets/AI4Spectro/OLtestV1
下载链接
链接失效反馈
官方服务:
资源简介:
## Combine the split files into a single file named 'OLtest.db.gz' ```python import gzip import os import shutil def combine_files(input_prefix, num_parts, output_file): with gzip.open(output_file, 'wb') as f_out: for i in range(1, num_parts + 1): part_file = f"{input_prefix}_part{i}.gz" with gzip.open(part_file, 'rb') as f_in: shutil.copyfileobj(f_in, f_out) os.remove(part_file) combine_files('OLtest', 2, 'OLtest.db.gz') ```
提供机构:
AI4Spectro
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作