Skip to content
Introduction to Data Science in Python
  • AI Chat
  • Code
  • Report
  • Introduction to Data Science in Python

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

    # Importing pandas and numpy
    import numpy as np
    import pandas as pd
    
    # Importing the course datasets
    frequencies = pd.read_csv("datasets/all_frequencies.csv")
    records = pd.read_csv("datasets/cell_phone_records.csv")
    credit = pd.read_csv("datasets/credit_records.csv")
    ransom = pd.read_csv("datasets/ransom.csv")
    gravel = pd.read_csv("datasets/shoe_gravel_sample.csv")

    Take Notes

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

    Add your notes here

    # Add your code snippets here

    Loading a CSV into a DataFrame

    df = pd.readcsv("test.csv")