Lesson 1: Creating, reading and writing
    1 / 11

    Lesson 1 of 6 · about 15 minutes

    Creating, reading and writing

    What pandas is

    pandas is the Python library for working with tables of data: spreadsheets, CSV files, survey results, sales records. It is the tool most data analysts reach for first.

    You bring it in with one line. Everyone shortens the name to pd, so you will see pd. in front of almost every pandas command:

    import pandas as pd
    
    print(pd.__version__)

    pandas has two main building blocks: the DataFrame (a whole table) and the Series (one column of it). This lesson shows how to make both, how to load a table from a file, and how to save one.