Загрузить файлы в «/»

This commit is contained in:
2025-10-27 11:48:41 +03:00
commit ba53689ab4
5 changed files with 962 additions and 0 deletions

7
places_from_xlsx.py Normal file
View File

@@ -0,0 +1,7 @@
import pandas as pd
# Читаем конкретный лист из Excel
df = pd.read_excel('cultural_objects_mnn_final.xlsx', sheet_name='list1')
# Сохраняем в JSON с красивым форматированием
df.to_json('output.json', orient='records', force_ascii=False, indent=4)