{% set pas = 2 %}{% include '_stepper.html' %}

Mapare coloane — {{ filename or ("import #" ~ import_id) }}

{% if message %}
{{ message }}
{% endif %}

Asociaza fiecare coloana din fisier cu campul canonic corespunzator. Maparea se retine automat pentru fisiere cu acelasi antet.

sau YYYY-MM-DD, MM/DD/YYYY etc.
{% for col in columns %} {%- set sugg = fuzzy_suggestions.get(col, []) -%} {%- set best = sugg[0].camp_canonic if sugg else '' -%}
{{ col }}
{% if sugg %}
sugestie: {{ sugg[0].camp_canonic }} ({{ sugg[0].score | round | int }}%)
{% endif %} {%- set ns = namespace(samples=[]) -%} {%- for row in sample_rows -%} {%- if row.get(col) is not none and row.get(col) != '' -%} {%- set ns.samples = ns.samples + [row[col] | string] -%} {%- endif -%} {%- endfor -%} {% if ns.samples %}
ex: {{ ns.samples[:2] | join(", ") }}
{% endif %}
{% endfor %}
maparea se retine pentru fisiere cu acelasi antet
Incarca alt fisier