PyNoon Data Lesson 2

Warm-Up Exercise

Plot some data

  1. Load libraries and data in a notebook:

    import pandas as pd
    import plotly.express as px
    
    listings_df = pd.read_csv('https://pynoon.github.io/data/inside_airbnb_listings_nz_2023_09.csv')
    listings_df
  2. Make one or more interesting plots from the data

Thanks

  • To the host for the great venue!
  • To our sponsors

Administrivia

  • Fire escapes
  • Toilets
  • Cleaning up after ourselves
  • WiFi

Tutorial Objectives

  • Comparison operators
  • Filtering rows in DataFrames
  • Computing new columns in DataFrames

Independent Work

  1. Exercise Notebook:
  2. Work through futurecoder.io sections:
    1. A bit more about strings
    2. Nested loops