Skip to content
OddsockLocal
Local
Source text
ItemQuantity
Notebook12
Pencil4
3 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Paste or drop the CSV. The first row must be a header.
  2. Read rowCount, then each column's type, missing, and distinct.
  3. For a number column, read min, max, and mean of the filled cells.
  4. If a code column is typed as number, open CSV to JSON and check whether leading zeros were meant to stay.

What is CSV analyzer?

Before you chart or join a table you need to know what each column actually contains. The analyzer reads the header and every data row, then writes one object per column: name, type, missing, and distinct. When every filled cell is a finite number, the type is number and the object also carries min, max, and mean.

Read more

Take a three-row sheet. The header is name, amount, code. The rows are a quoted company A, Inc. with amount 2 and code 001, then Bob with amount 10 and a blank code, then Bob again with amount 10 and a blank code. The profile says three rows. name is text, nothing missing, two distinct values. amount is a number from 2 to 10 with mean 7.33, the raw mean being 7.333333333333333. code is reported as a number because the only filled cell, 001, parses as 1, so min, max, and mean are all 1, with two cells missing and two distinct values once the blanks are counted.

That code result is the trap. Leading zeros survive in CSV to JSON, which keeps 001 as the string 001. The analyzer uses numeric parsing, so a column of zero-padded identifiers looks like a small integer. Read the type before you treat the mean as meaningful.

Use cases

  • A data reviewer checking an accounts export for blank codes before a load.
  • A student learning why the mean of 2 and 10 and 10 is 7.33 and not 6.
  • An engineer comparing distinct names with row count to spot repeated people.
  • A finance assistant confirming amount is numeric before a sum in another tool.
  • Someone who inherited a CSV and wants the shape without opening Excel.

Three rows, one repeated person, a padded code

name,amount,code then "A, Inc.",2,001 then Bob,10, then Bob,10,

rowCount 3. amount min 2, max 10, mean 7.333333333333333. code type number, missing 2, min 1, max 1, because 001 parsed as 1.

Why use Oddsock

The profile answers what the column is before you average it or chart it, using the same parse the other CSV tools use.

Related tools

Using this tool

It is the sum of the filled numeric cells divided by how many of those cells there are. Blanks are missing, not zeros. 2, 10, and 10 average to 7.333333333333333.