Raw Data

noun

say it: “RAW DAY-tuh” /ˈrɔ ˈdeɪtə/

Data exactly as it was first collected, before anyone cleaned or changed it, kept untouched so any cleaning can be checked and redone.

What is raw data?

Raw data is data exactly as it was collected, before any cleaning: the file a sensor wrote or volunteers typed. It's kept as it is and never written over, in its own folder such as data/raw, so a cleaning mistake can always be fixed by running the cleaning again from the start.

raw = pd.read_csv("data/raw/readings.csv")      # read, never written to
clean = clean_readings(raw)
clean.to_csv("data/clean/readings.csv", index=False)

In a sentence

  • “Because the raw data was untouched, a bad cleaning step was fixed by running the cleaning again.”
  • “She kept the raw data in its own folder and never saved over it.”

Level: Novice · More Python terms at this level

Updated