Exploring, visualizing, and preparing data
Use case: We’re planning a trip to New York City, and we want to get an idea of what the best accommodation options would be. Rather than perusing through and evaluating lots of individual Airbnb postings, we’re going to download lots of the reviews and do some bulk data analysis and data processing to get some insights.
We can use the Vertex AI Workbench notebook that we created in Chapter 5 for this purpose. Please open JupyterLab on that notebook instance. In the directory explorer on the left side of the screen, navigate to the Chapter-6
directory and open the Chapter-6-Airbnb.ipynb
notebook. You can choose Python (Local) as the kernel. As you did in Chapter 5, run each cell in the notebook by selecting the cell and pressing Shift + Enter on your keyboard.
In the notebook, we use markdown cells to describe each step in detail so that you can understand each step in the process. We use libraries such as pandas
, matplotlib...