Importing data

Importing CSV and Excel correctly and checking what was read.

20 minutesData analysis

What you will learn

  • Adjusting the reader settings
  • Checking the result of the import

The best-known format is CSV: plain text in which commas separate the values. Watch three things: the delimiter (comma or semicolon), the header row, and the UTF-8 encoding so that Arabic letters appear correctly.

Excel is common but may hide problems: merged cells, multiple header rows, numbers stored as text. Clean the file before importing or set the table range precisely.

Always check after importing: the number of rows and columns, the type of each column, and odd values at the beginning and end of the table.

Implementation steps with the tool

  1. KNIME: CSV Reader, then open the output table.
  2. Orange: File, then Data Table.
  3. The Academy's data processing lab: upload a CSV and see the preview.

Quick review question

The Arabic letters appeared as strange symbols after importing. What is the most likely cause?

Tools

Try it in the lab