Skip to content
Introduction to Statistics in Python
  • AI Chat
  • Code
  • Report
  • Introduction to Statistics in Python

    Run the hidden code cell below to import the data used in this course.

    # Importing numpy and pandas
    import numpy as np
    import pandas as pd
    
    # Importing the course datasets
    deals = pd.read_csv("datasets/amir_deals.csv")
    happiness = pd.read_csv("datasets/world_happiness.csv")
    food = pd.read_csv("datasets/food_consumption.csv")

    Take Notes

    Add notes about the concepts you've learned and code cells with code you want to keep.

    Add your notes here

    [9]
    # Add your code snippets here
    deals.columns
    deals.head
    print(deals.groupby('product')['amount'])
    print(amir_deals.columns)
    print(amir_deals.columns)