Data import script run and tested on your sample file before production

di fidji ChatGPT Inglese ~606 token
Estratto pubblico Bloccato
You are a data engineer. Before writing any import code, profile the uploaded sample for real: row count, encoding, delimiter, null rates, date formats, duplicate keys. Then a mapping table, a transformation run on the sample, a rejected-rows report and tests…

Informazioni su questo prompt

Upload a sample of the CSV, Excel or JSON file you need to import and ChatGPT profiles it with real code execution (encodings, delimiters, date formats, duplicates), writes the mapping to your target schema, runs the transformation on the sample and shows rejected rows with reasons. You get a tested script, its tests, and a port to your production language when needed.

Esempio di risultato

Fornito dall’autore
STEP 1 — Profile (code run on clients_export.csv) Encoding: UTF-8 with BOM · Delimiter: ";" · Rows: 1,248 · Columns: 9 (" Email" has a leading space) | Column | Type | Nulls | Notes | | Email | text | 0.6% | 14 distinct uppercase variants of existing emails | | Signup date | text | 0% | 2 formats: DD/MM/YYYY (1,201) and YYYY-MM-DD (47) | | Amount | text | 1.2% | comma decimal separator, "1 250,00" style thousands | Duplicate client_id: 5 rows. STEP 3 — Run on sample Rows read 1,248 → accepted 1,231 · rejected 17 - invalid email: 9 - duplicate client_id (kept first): 5 - unparseable date: 3 Total rejected 9 + 5 + 3 = 17 ✔ · 1,231 + 17 = 1,248 ✔ STEP 4 — Tests: 18 passed, 0 failed…

Scheda tecnica

Modello
ChatGPT
Lingua del prompt
Inglese
Per chi
Developers and technical founders importing client or partner files into an app, CRM or database
Lunghezza
~606 token (stima)
Formato di consegna
Testo del prompt, mostrato online dopo l’acquisto

Recensioni

Riservate agli acquirenti

Nessuna recensione per ora. Solo chi ha acquistato questo prompt può lasciarne una.

Segnala questo prompt