Catalogue · First steps in Python and SQL, with AI

Load a CSV file

You load a sales export with pandas and see its first rows and its size.

JupyterLiteBeginner0:24Capsule 2 of 12
SkillKapsul

Space: play · ← →: 5 seconds · M: sound · F: full screen

The steps

The exact sequence, in order.

  1. 01

    Drag the CSV file into the left panel.

  2. 02

    Type import pandas as pd, then Shift + Enter.

  3. 03

    Type df = pd.read_csv("atlas_sales.csv").

  4. 04

    Type df.head() for the first five rows, then df.shape for the size: (312, 10).

The habit to keep

Always look at the first rows and the size before you calculate.

Related capsules

You might also like

Newsletter

Monday's capsule

One skill a week, straight to your inbox. The easiest way to keep learning without thinking about it.

No spam, no reselling. One-click unsubscribe.

Your data stays in the EU. Never sold.

SkillKapsul