Syncro sélection de colonnes et tableau fonctionnelle

This commit is contained in:
Colin Maudry
2026-01-31 01:04:09 +01:00
parent 2a381f6dbb
commit cd81aa9532
3 changed files with 158 additions and 8 deletions
+3 -1
View File
@@ -2,6 +2,7 @@ import json
import logging
import os
import uuid
from collections import OrderedDict
from time import localtime, sleep
import polars as pl
@@ -456,7 +457,7 @@ def get_data_schema() -> dict:
else:
raise Exception(f"Chemin vers le schéma invalide: {path}")
new_schema = {}
new_schema = OrderedDict()
for col in original_schema["fields"]:
new_schema[col["name"]] = col
@@ -757,3 +758,4 @@ meta_content = {
),
}
data_schema = get_data_schema()
columns = df.columns