Skip to content
Joining Data with pandas
  • AI Chat
  • Code
  • Report
  • Joining Data with pandas

    Run the hidden code cell below to import a few of the datasets used in this course.

    Note: There are a large number of datasets in the datasets/ folder. Many of these are Pickle files, which you can read using pd.read_pickle(path_to_file). An example is included in the cell below.

    # Import pandas
    import pandas as pd
    
    # Import some of the course datasets 
    actors_movies = pd.read_csv("datasets/actors_movies.csv")
    business_owners = pd.read_pickle("datasets/business_owners.p")
    casts = pd.read_pickle("datasets/casts.p")
    
    # Preview one of the DataFrames
    casts

    Take Notes

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

    Add your notes here

    # Add your code snippets here
    
    Spinner
    DataFrameavailable as
    economies2010
    variable
    SELECT * FROM world.economies2010
    
    Spinner
    DataFrameavailable as
    region_areas
    variable
    SELECT * FROM nation.region_areas