final
This commit is contained in:
7
input-to-route/places_from_xlsx.py
Normal file
7
input-to-route/places_from_xlsx.py
Normal 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)
|
||||
Reference in New Issue
Block a user