New Tool Radar

AI for Data & Spreadsheets

How to Check Column Types After Importing an AI-Generated CSV

Open the imported CSV and confirm dates are dates and numbers are numbers before you use them.

Schematic with three numbered boxes: list the columns, check dates and numbers, fix the types.

A CSV has no column types, so the spreadsheet guesses them on import, and the guess is often wrong: dates become text, IDs lose leading zeros, and large numbers become scientific notation. Check each column type after import, before you sort, filter or calculate anything.

Checked on 2026-11-29. We did not run any tool for this guide. Every result below is an expected result, marked UNTESTED, for you to confirm on your own files.

Prerequisites

  • An AI-generated CSV file
  • A spreadsheet app to import it into
  • A note of what each column should be: date, number or text

Steps

1. Import the CSV and list the columns

Import the file and write down each column with the type the app chose for it.

Expected result: A column list exists with the guessed type for each.

2. Check date columns first

Click a date cell and check the app treats it as a date, not as text. Text dates will not sort or calculate.

Expected result: Date columns are marked date or text, with the wrong ones listed.

3. Check number columns

Check that amounts are numbers and that IDs with leading zeros kept their zeros.

Expected result: Number columns are marked correct or wrong.

4. Fix the types and re-check

Change the wrong column types and re-import if needed, then check the first and last rows again.

Expected result: All columns have the right type and the first and last rows read correctly.

Worked example

A practice CSV has four columns. Two were guessed wrong on import.

Column Should be Imported as
Order date Date Text
Customer ID Text Number
Amount Number Number
Region Text Text

Expected result: Two columns are wrong on import, so the date column is fixed to Date and the ID column to Text before any use (UNTESTED – confirm it yourself.)

Verdict table

Check Expected result Pass?
Import the CSV and list the columns A column list exists with the guessed type for each. –
Check date columns first Date columns are marked date or text, with the wrong ones listed. –
Check number columns Number columns are marked correct or wrong. –
Fix the types and re-check All columns have the right type and the first and last rows read correctly. –

Limits

  • Fixing a type after import does not always fix the values; a date stored as text may need re-import.
  • Different apps guess types differently, so check again if you open the file in another app.

Sources

See all