Teach jenn coding with python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

874 lines
75 KiB

{
"cells": [
{
"cell_type": "markdown",
"id": "76cc981d",
"metadata": {},
"source": [
"# SQL Wizard\n",
"\n",
"This notebook is designed to teach you the language of SQL. SQL stands for Structured Query Language. It is a language designed to query databases. These queries allow you to pull data from the database, update rows in the database, and even delete data permanently. There are many different SQL databases, each of which can all have different plugins to enhance their capabilities even further. Remember that apartment searching tool I made for you? That's all using SQL :) It just also used a plugin meant for operating on geographic locations.\n",
"\n",
"The most common SQL database is SQLite. It is a lightweight library which any program can embed within itself to give it access to a SQL database. Most other databases are separate servers which must be run as an entirely separate software hosted on a sever somewhere. Because of this SQLite is very easy to get started with.\n",
"\n",
"Run the following cell to install SQL capabilities into Jupyter:"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "ae40bab8",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<span style=\"None\">Tip: You may define configurations in /home/octotep/projects/jenn-learning/pyproject.toml or /home/octotep/.jupysql/config. </span>"
],
"text/plain": [
"Tip: You may define configurations in /home/octotep/projects/jenn-learning/pyproject.toml or /home/octotep/.jupysql/config. "
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Please review our <a href='https://jupysql.ploomber.io/en/latest/api/configuration.html#loading-from-a-file'>configuration guideline</a>."
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"'poetry' is an invalid configuration. Please review our <a href='https://jupysql.ploomber.io/en/latest/api/configuration.html#options'>configuration guideline</a>."
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"%load_ext sql"
]
},
{
"cell_type": "markdown",
"id": "18ac848a",
"metadata": {},
"source": [
"### Getting started with SQL\n",
"\n",
"Before we can get started with SQLite, let's first open a database! This is something you only need to do once in Jupyter since it will keep the database open for you. Run the following cell to open the database called \"properties.db\", which as you'll find out contains information about every Railey property at Deep Creek Lake.\n",
"\n",
"SQL databases all generally follow this model: Every database file can contain multiple \"tables\", and each table will contain rows and columns. If you know Excel this should be very familiar. Each Excel file can contain multiple sheet tabs at the bottom which allow you to store multiple spreadsheets in the same file. Those tabs at the bottom are equilavent to SQL tables."
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "45e2c86e",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<span style=\"None\">Connecting to &#x27;sqlite:///properties.db&#x27;</span>"
],
"text/plain": [
"Connecting to 'sqlite:///properties.db'"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"%sql sqlite:///properties.db"
]
},
{
"cell_type": "markdown",
"id": "62ce9513-d9f9-4a1a-9d8d-8001ff98d285",
"metadata": {},
"source": [
"### Your first query\n",
"\n",
"SQL queries are made of individual statements. These statements start with a word which specifies what you'd like to do, such as `SELECT` to retrieve data, `UPDATE` to update existing rows, and `DELETE` to delete records from the database. Let's practice a SELECT statement.\n",
"\n",
"The syntax of `SELECT` is as follows: `SELECT <the names of columns I would like returned separated by commas> FROM <table name>`. SQL also has a shorthand for selecting all columns: `SELECT * FROM <table name>`\n",
"\n",
"One last thing before we dive in! To make a Jupyter notebook cell run SQL, you must start the cell with `%%sql`. Without this, you'll likely get some errors since Jupyter will try to run it as SQL code. I will include this for you to make your life easier but you should know why it's there :)\n",
"\n",
"Additionally some queries will return a lot of data, so you may want to click on the area to the left of the returned data to shrink it "
]
},
{
"cell_type": "markdown",
"id": "0fda3705-2abe-497d-9fd4-389d7f44b428",
"metadata": {},
"source": [
"### Exercise 1: Getting started with SELECT\n",
"\n",
"As a first exercise, try selecting all columns from the table `all_railey_properties`."
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "cf28b6f1-c215-405c-afbf-c65cac1c2b7c",
"metadata": {
"scrolled": true
},
"outputs": [
{
"data": {
"text/html": [
"<span style=\"None\">Running query in &#x27;sqlite:///properties.db&#x27;</span>"
],
"text/plain": [
"Running query in 'sqlite:///properties.db'"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<table>\n",
" <thead>\n",
" <tr>\n",
" <th>id</th>\n",
" <th>name</th>\n",
" <th>latitude</th>\n",
" <th>longitude</th>\n",
" <th>prioritize_listing</th>\n",
" <th>min_rental_age</th>\n",
" <th>promote</th>\n",
" <th>property_search_priority</th>\n",
" <th>access_types</th>\n",
" <th>featured_amenities</th>\n",
" <th>home_type</th>\n",
" <th>neighborhood</th>\n",
" <th>all_amenities</th>\n",
" <th>url</th>\n",
" <th>reviews_count</th>\n",
" <th>reviews_rating</th>\n",
" <th>baths</th>\n",
" <th>beds</th>\n",
" <th>total_occupants</th>\n",
" <th>shared_baths</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <td>e2el5x-rci-571</td>\n",
" <td>Abbot's Bliss</td>\n",
" <td>39.514008</td>\n",
" <td>-79.289635</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Lake Front\"]</td>\n",
" <td>[\"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Game Table\", \"Grill\", \"Home Office\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Carmel Cove\"]</td>\n",
" <td>[\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"Dog Friendly\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Wood)\", \"Game Table\", \"Grill\", \"Grill (Charcoal)\", \"Grill (Gas)\", \"Home Office\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\", \"Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/abbots-bliss>https://www.deepcreek.com/vacation-rentals/abbots-bliss</a></td>\n",
" <td>32</td>\n",
" <td>4.3438</td>\n",
" <td>4</td>\n",
" <td>6</td>\n",
" <td>16</td>\n",
" <td>None</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-572</td>\n",
" <td>Absolute Delight</td>\n",
" <td>39.50175</td>\n",
" <td>-79.32296</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Lake Front\"]</td>\n",
" <td>[\"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Glendale Rd.\"]</td>\n",
" <td>[\"A/C (Central)\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Charcoal)\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\", \"Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/absolute-delight>https://www.deepcreek.com/vacation-rentals/absolute-delight</a></td>\n",
" <td>40</td>\n",
" <td>4.65</td>\n",
" <td>6</td>\n",
" <td>8</td>\n",
" <td>25</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-573</td>\n",
" <td>Ace's Chalet</td>\n",
" <td>39.545776</td>\n",
" <td>-79.37889</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Limited Lake Access\", \"Ski In/Ski Out\"]</td>\n",
" <td>[\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"North Camp\"]</td>\n",
" <td>[\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"Dog Friendly\", \"A/C\", \"All Bedrooms Are Suites\", \"Fireplace\", \"Fireplace (Wood)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"No Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/aces-chalet>https://www.deepcreek.com/vacation-rentals/aces-chalet</a></td>\n",
" <td>48</td>\n",
" <td>4.3333</td>\n",
" <td>6</td>\n",
" <td>5</td>\n",
" <td>16</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-574</td>\n",
" <td>Adventure Bound</td>\n",
" <td>39.53931</td>\n",
" <td>-79.35391</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Lake Front\", \"Ski Area\"]</td>\n",
" <td>[\"Provides Firewood (Valid: 9/15 - 4/15)\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Marsh Hill Rd.\"]</td>\n",
" <td>[\"Provides Firewood (Valid: 9/15 - 4/15)\", \"Dog Friendly\", \"Dock\", \"Dock (Private)\", \"Fireplace\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Charcoal)\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\", \"Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/adventure-bound>https://www.deepcreek.com/vacation-rentals/adventure-bound</a></td>\n",
" <td>46</td>\n",
" <td>3.913</td>\n",
" <td>3</td>\n",
" <td>5</td>\n",
" <td>14</td>\n",
" <td>None</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-581</td>\n",
" <td>Altitude Adjustment</td>\n",
" <td>39.53566</td>\n",
" <td>-79.37087</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Golf Area\", \"Lake Area\"]</td>\n",
" <td>[\"Signature Collection Home\", \"CARC\", \"A/C\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\", \"EV Charging\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Biltmore at Lodestone\"]</td>\n",
" <td>[\"A/C (Central)\", \"Signature Collection Home\", \"CARC Indoor Pool & Fitness Membership\", \"Dog Friendly\", \"A/C\", \"All Bedrooms Are Suites\", \"Fireplace\", \"Fireplace (Gas)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"No Bunk Beds\", \"Electric Vehicle Charging Station\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/altitude-adjustment>https://www.deepcreek.com/vacation-rentals/altitude-adjustment</a></td>\n",
" <td>82</td>\n",
" <td>4.8415</td>\n",
" <td>5</td>\n",
" <td>5</td>\n",
" <td>14</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-585</td>\n",
" <td>American Eagle Lodge</td>\n",
" <td>39.55831</td>\n",
" <td>-79.35635</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Lake Front\", \"Ski Area\"]</td>\n",
" <td>[\"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"Swimming Pool\", \"WIFI\", \"Sauna\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Deep Creek Drive\"]</td>\n",
" <td>[\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"Swimming Pool\", \"Swimming Pool (Private)\", \"WIFI\", \"Sauna\", \"No Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/american-eagle-lodge>https://www.deepcreek.com/vacation-rentals/american-eagle-lodge</a></td>\n",
" <td>41</td>\n",
" <td>4.4146</td>\n",
" <td>7</td>\n",
" <td>8</td>\n",
" <td>26</td>\n",
" <td>[\"2\"]</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-589</td>\n",
" <td>Almost Aspen</td>\n",
" <td>39.501404</td>\n",
" <td>-79.32321</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Lake Front\"]</td>\n",
" <td>[\"Signature Collection Home\", \"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Glendale Rd.\"]</td>\n",
" <td>[\"A/C (Central)\", \"Signature Collection Home\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\", \"Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/almost-aspen>https://www.deepcreek.com/vacation-rentals/almost-aspen</a></td>\n",
" <td>55</td>\n",
" <td>4.6909</td>\n",
" <td>6</td>\n",
" <td>7</td>\n",
" <td>20</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-592</td>\n",
" <td>At Lake's Edge</td>\n",
" <td>39.50574</td>\n",
" <td>-79.277855</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Golf Area\", \"Lake Front\"]</td>\n",
" <td>[\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"Weddings Considered (Fees Apply)\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Waterfront Greens\"]</td>\n",
" <td>[\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"Weddings Considered (Fees Apply)\", \"WIFI\", \"No Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/lakes-edge>https://www.deepcreek.com/vacation-rentals/lakes-edge</a></td>\n",
" <td>37</td>\n",
" <td>4.3784</td>\n",
" <td>7</td>\n",
" <td>8</td>\n",
" <td>20</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-594</td>\n",
" <td>Awesome View</td>\n",
" <td>39.501785</td>\n",
" <td>-79.32087</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Lake Front\"]</td>\n",
" <td>[\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Swimming Pool\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Glendale Rd.\"]</td>\n",
" <td>[\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"Dock\", \"Dock (Private)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Swimming Pool\", \"Swimming Pool (Private)\", \"WIFI\", \"No Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/awesome-view>https://www.deepcreek.com/vacation-rentals/awesome-view</a></td>\n",
" <td>33</td>\n",
" <td>4.0606</td>\n",
" <td>6</td>\n",
" <td>8</td>\n",
" <td>24</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-606</td>\n",
" <td>Beyond Bliss</td>\n",
" <td>39.50577</td>\n",
" <td>-79.27956</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Golf Area\", \"Lake Front\"]</td>\n",
" <td>[\"Signature Collection Home\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Home Theater\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Swimming Pool\", \"Weddings Considered (Fees Apply)\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Waterfront Greens\"]</td>\n",
" <td>[\"A/C (Central)\", \"Signature Collection Home\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"All Bedrooms Are Suites\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Gas)\", \"Home Theater\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Swimming Pool\", \"Swimming Pool (Private)\", \"Weddings Considered (Fees Apply)\", \"WIFI\", \"No Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/beyond-bliss>https://www.deepcreek.com/vacation-rentals/beyond-bliss</a></td>\n",
" <td>37</td>\n",
" <td>4.2703</td>\n",
" <td>9</td>\n",
" <td>8</td>\n",
" <td>20</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<span style=\"font-style:italic;text-align:center;\">Truncated to <a href=\"https://jupysql.ploomber.io/en/latest/api/configuration.html#displaylimit\">displaylimit</a> of 10.</span>"
],
"text/plain": [
"+----------------+----------------------+-----------+------------+--------------------+----------------+---------+--------------------------+-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+---------------+----------------+-------+------+-----------------+--------------+\n",
"| id | name | latitude | longitude | prioritize_listing | min_rental_age | promote | property_search_priority | access_types | featured_amenities | home_type | neighborhood | all_amenities | url | reviews_count | reviews_rating | baths | beds | total_occupants | shared_baths |\n",
"+----------------+----------------------+-----------+------------+--------------------+----------------+---------+--------------------------+-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+---------------+----------------+-------+------+-----------------+--------------+\n",
"| e2el5x-rci-571 | Abbot's Bliss | 39.514008 | -79.289635 | 0 | 24 | 0 | 0 | [\"Lake Front\"] | [\"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Game Table\", \"Grill\", \"Home Office\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\"] | [\"House\"] | [\"Carmel Cove\"] | [\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"Dog Friendly\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Wood)\", \"Game Table\", \"Grill\", \"Grill (Charcoal)\", \"Grill (Gas)\", \"Home Office\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\", \"Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/abbots-bliss>https://www.deepcreek.com/vacation-rentals/abbots-bliss</a> | 32 | 4.3438 | 4 | 6 | 16 | None |\n",
"| e2el5x-rci-572 | Absolute Delight | 39.50175 | -79.32296 | 0 | 24 | 0 | 0 | [\"Lake Front\"] | [\"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\"] | [\"House\"] | [\"Glendale Rd.\"] | [\"A/C (Central)\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Charcoal)\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\", \"Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/absolute-delight>https://www.deepcreek.com/vacation-rentals/absolute-delight</a> | 40 | 4.65 | 6 | 8 | 25 | [\"1\"] |\n",
"| e2el5x-rci-573 | Ace's Chalet | 39.545776 | -79.37889 | 0 | 24 | 0 | 0 | [\"Limited Lake Access\", \"Ski In/Ski Out\"] | [\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\"] | [\"House\"] | [\"North Camp\"] | [\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"Dog Friendly\", \"A/C\", \"All Bedrooms Are Suites\", \"Fireplace\", \"Fireplace (Wood)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"No Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/aces-chalet>https://www.deepcreek.com/vacation-rentals/aces-chalet</a> | 48 | 4.3333 | 6 | 5 | 16 | [\"1\"] |\n",
"| e2el5x-rci-574 | Adventure Bound | 39.53931 | -79.35391 | 0 | 24 | 0 | 0 | [\"Lake Front\", \"Ski Area\"] | [\"Provides Firewood (Valid: 9/15 - 4/15)\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\"] | [\"House\"] | [\"Marsh Hill Rd.\"] | [\"Provides Firewood (Valid: 9/15 - 4/15)\", \"Dog Friendly\", \"Dock\", \"Dock (Private)\", \"Fireplace\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Charcoal)\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\", \"Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/adventure-bound>https://www.deepcreek.com/vacation-rentals/adventure-bound</a> | 46 | 3.913 | 3 | 5 | 14 | None |\n",
"| e2el5x-rci-581 | Altitude Adjustment | 39.53566 | -79.37087 | 0 | 24 | 0 | 0 | [\"Golf Area\", \"Lake Area\"] | [\"Signature Collection Home\", \"CARC\", \"A/C\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\", \"EV Charging\"] | [\"House\"] | [\"Biltmore at Lodestone\"] | [\"A/C (Central)\", \"Signature Collection Home\", \"CARC Indoor Pool & Fitness Membership\", \"Dog Friendly\", \"A/C\", \"All Bedrooms Are Suites\", \"Fireplace\", \"Fireplace (Gas)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"No Bunk Beds\", \"Electric Vehicle Charging Station\"] | <a href=https://www.deepcreek.com/vacation-rentals/altitude-adjustment>https://www.deepcreek.com/vacation-rentals/altitude-adjustment</a> | 82 | 4.8415 | 5 | 5 | 14 | [\"1\"] |\n",
"| e2el5x-rci-585 | American Eagle Lodge | 39.55831 | -79.35635 | 0 | 24 | 0 | 0 | [\"Lake Front\", \"Ski Area\"] | [\"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"Swimming Pool\", \"WIFI\", \"Sauna\"] | [\"House\"] | [\"Deep Creek Drive\"] | [\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"Swimming Pool\", \"Swimming Pool (Private)\", \"WIFI\", \"Sauna\", \"No Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/american-eagle-lodge>https://www.deepcreek.com/vacation-rentals/american-eagle-lodge</a> | 41 | 4.4146 | 7 | 8 | 26 | [\"2\"] |\n",
"| e2el5x-rci-589 | Almost Aspen | 39.501404 | -79.32321 | 0 | 24 | 0 | 0 | [\"Lake Front\"] | [\"Signature Collection Home\", \"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\"] | [\"House\"] | [\"Glendale Rd.\"] | [\"A/C (Central)\", \"Signature Collection Home\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"WIFI\", \"Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/almost-aspen>https://www.deepcreek.com/vacation-rentals/almost-aspen</a> | 55 | 4.6909 | 6 | 7 | 20 | [\"1\"] |\n",
"| e2el5x-rci-592 | At Lake's Edge | 39.50574 | -79.277855 | 0 | 24 | 0 | 0 | [\"Golf Area\", \"Lake Front\"] | [\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"Weddings Considered (Fees Apply)\", \"WIFI\"] | [\"House\"] | [\"Waterfront Greens\"] | [\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"Weddings Considered (Fees Apply)\", \"WIFI\", \"No Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/lakes-edge>https://www.deepcreek.com/vacation-rentals/lakes-edge</a> | 37 | 4.3784 | 7 | 8 | 20 | [\"1\"] |\n",
"| e2el5x-rci-594 | Awesome View | 39.501785 | -79.32087 | 0 | 24 | 0 | 0 | [\"Lake Front\"] | [\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Swimming Pool\", \"WIFI\"] | [\"House\"] | [\"Glendale Rd.\"] | [\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"Dock\", \"Dock (Private)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Swimming Pool\", \"Swimming Pool (Private)\", \"WIFI\", \"No Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/awesome-view>https://www.deepcreek.com/vacation-rentals/awesome-view</a> | 33 | 4.0606 | 6 | 8 | 24 | [\"1\"] |\n",
"| e2el5x-rci-606 | Beyond Bliss | 39.50577 | -79.27956 | 0 | 24 | 0 | 0 | [\"Golf Area\", \"Lake Front\"] | [\"Signature Collection Home\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Home Theater\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Swimming Pool\", \"Weddings Considered (Fees Apply)\", \"WIFI\"] | [\"House\"] | [\"Waterfront Greens\"] | [\"A/C (Central)\", \"Signature Collection Home\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"All Bedrooms Are Suites\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Gas)\", \"Home Theater\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Swimming Pool\", \"Swimming Pool (Private)\", \"Weddings Considered (Fees Apply)\", \"WIFI\", \"No Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/beyond-bliss>https://www.deepcreek.com/vacation-rentals/beyond-bliss</a> | 37 | 4.2703 | 9 | 8 | 20 | [\"1\"] |\n",
"+----------------+----------------------+-----------+------------+--------------------+----------------+---------+--------------------------+-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+---------------+----------------+-------+------+-----------------+--------------+\n",
"Truncated to displaylimit of 10."
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%%sql\n",
"# Add your select statement here\n",
"SELECT * from all_railey_properties"
]
},
{
"cell_type": "markdown",
"id": "6f2fc505-8403-401e-b409-c9dacfc40911",
"metadata": {},
"source": [
"You'll notice that for your display convenience only ten results are displayed to you. Still, this query does select every row, but it would flood the notebook with results if it return all 500+ so the software doesn't allow that by default."
]
},
{
"cell_type": "markdown",
"id": "b36ab734-88f9-4db5-8a92-2d6d990362c9",
"metadata": {},
"source": [
"## Basic SQL functions\n",
"\n",
"SQL comes with some functions which allow you to calculate various measures. The three we will look at are `COUNT`, `SUM`, and `AVG`. For these explainations, let's imagine we'll be working with a hypothetical dataset of taxi cab rides. They will be stored in a table named `cab_rides` and have columns like `fare`, `date`, `time`, `trip_miles`, etc.\n",
"\n",
"`COUNT` will return the number of rows which are selected by the `SELECT` statement. Usage looks like this: `SELECT COUNT(*) FROM cab_rides`. The count function can go around any column name, but for convenience usually people will just write it with the all column shorthand so you don't have to remember the name of a column to use it.\n",
"\n",
"`SUM` will add up all values from the specified column. For example, with our hypothetical dataset, you could then write a query like this to get the total amount of miles driven across all taxi cab trips: `SELECT SUM(trip_miles) FROM cab_rides`. Note that for this function, you'll want to supply it with an actual column name because SUM(*) would likely give you an error because not all the columns can be summed (some contain strings or other values). Additionally, even if possible the question \"What is the total amount of all miles driven plus the total fare and tip amount across all rides?\" is not a particularly useful answer to acquire.\n",
"\n",
"`AVG` acts like `SUM` but instead calculates the mean of a dataset. All the rows will be `SUM`med together and then divided by the `COUNT` to get the average. In our above hypothetical dataset, you could instead write `SELECT AVG(trip_miles) FROM cab_rides` to get the average number of miles in a taxi cab ride. "
]
},
{
"cell_type": "markdown",
"id": "113318ff-35de-40c9-8320-3a9085da2313",
"metadata": {},
"source": [
"### Example 2: COUNT your chickens before they hatch\n",
"\n",
"Try a simple SELECT statement using COUNT to see just how many properties are in the `all_railey_properties` table:"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "503fbe8b-0ffd-4f7b-98da-60840e02b4ac",
"metadata": {},
"outputs": [],
"source": [
"%%sql\n",
"# Your SQL goes here"
]
},
{
"cell_type": "markdown",
"id": "e8ca4747-ed04-4d90-91aa-084effd61e0e",
"metadata": {},
"source": [
"### Example 3: SUM it up for me\n",
"\n",
"Try a SELECT statement using SUM to figure out how many total reviews there are across all properties in the `all_railey_properties` table.\n",
"\n",
"Hint: The column name which contains the reviews is `reviews_count`"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "aa652541-088a-4178-8462-1de4e0e4eb2f",
"metadata": {},
"outputs": [],
"source": [
"%%sql\n",
"# Your SQL goes here"
]
},
{
"cell_type": "markdown",
"id": "812de74c-ca9d-4d96-90ee-fca2391f4eae",
"metadata": {},
"source": [
"### Example 4: Law of AVGs\n",
"\n",
"Try one last SELECT statement using AVG to determine what the average review rating is across all properties in the `all_railey_properties` table. Hint: you have to figure out the correct column name for this yourself"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "25738ff2-ee49-496d-802f-40cc6367d10a",
"metadata": {},
"outputs": [],
"source": [
"%%sql\n",
"# Your SQL goes here"
]
},
{
"cell_type": "markdown",
"id": "e9ad82b7",
"metadata": {},
"source": [
"## Filtering and sorting\n",
"\n",
"Great job learning about SELECT and the three basic SQL functions! We'll be using them a lot more below so I'm glad your becoming a little sql pro :)\n",
"\n",
"Next, we're going to look at different ways to filter and sort the results that are returned to you by SELECT which will let you make deeper insights into the data you work with.\n",
"\n",
"The first tool we will look at is WHERE. WHERE is a clause which comes at the end of a SELECT statement. Using our hypothetical taxi cab ride example, you might want to ask the database for all trips that were longer than 5 miles to do further analysis on. You could ask it for those trips with a query like: `SELECT * FROM cab_rides WHERE trip_miles > 5`. The WHERE clause takes a boolean expression involving a column name, and evaluates it on every row to determine whether it should be returned or not. SQL can use all the expected boolean operators, like `=` for equality, `>`, `<`, `<=`, `>=`, `!=`, etc"
]
},
{
"cell_type": "markdown",
"id": "1d2b0010-f049-4ff9-925e-8b84eba0aaa1",
"metadata": {},
"source": [
"### Exercise 5: WHERE is my hairbrush?\n",
"\n",
"Let's practice WHERE clauses by SELECTing all rows which have a minimum renting age which is greater than 24."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "2cc8f541-cc08-490e-abd2-e46d72062c1d",
"metadata": {},
"outputs": [],
"source": [
"%%sql\n",
"# Your SQL goes here"
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "fbece4d1-877e-4bc9-991e-54374da179b0",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<span style=\"None\">Running query in &#x27;sqlite:///properties.db&#x27;</span>"
],
"text/plain": [
"Running query in 'sqlite:///properties.db'"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<table>\n",
" <thead>\n",
" <tr>\n",
" <th>id</th>\n",
" <th>name</th>\n",
" <th>latitude</th>\n",
" <th>longitude</th>\n",
" <th>prioritize_listing</th>\n",
" <th>min_rental_age</th>\n",
" <th>promote</th>\n",
" <th>property_search_priority</th>\n",
" <th>access_types</th>\n",
" <th>featured_amenities</th>\n",
" <th>home_type</th>\n",
" <th>neighborhood</th>\n",
" <th>all_amenities</th>\n",
" <th>url</th>\n",
" <th>reviews_count</th>\n",
" <th>reviews_rating</th>\n",
" <th>baths</th>\n",
" <th>beds</th>\n",
" <th>total_occupants</th>\n",
" <th>shared_baths</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <td>e2el5x-rci-592</td>\n",
" <td>At Lake's Edge</td>\n",
" <td>39.50574</td>\n",
" <td>-79.277855</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Golf Area\", \"Lake Front\"]</td>\n",
" <td>[\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"Weddings Considered (Fees Apply)\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Waterfront Greens\"]</td>\n",
" <td>[\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"Weddings Considered (Fees Apply)\", \"WIFI\", \"No Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/lakes-edge>https://www.deepcreek.com/vacation-rentals/lakes-edge</a></td>\n",
" <td>37</td>\n",
" <td>4.3784</td>\n",
" <td>7</td>\n",
" <td>8</td>\n",
" <td>20</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-625</td>\n",
" <td>Chalet By The Lake</td>\n",
" <td>39.55737</td>\n",
" <td>-79.35986</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Ski Area\", \"Lake Access\"]</td>\n",
" <td>[\"CARC\", \"A/C\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Lake Pointe\"]</td>\n",
" <td>[\"A/C (Central)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"All Bedrooms Are Suites\", \"Fireplace\", \"Fireplace (Gas)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"WIFI\", \"Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/chalet-lake>https://www.deepcreek.com/vacation-rentals/chalet-lake</a></td>\n",
" <td>33</td>\n",
" <td>4.5758</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>8</td>\n",
" <td>None</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-647</td>\n",
" <td>Enchanted Lakefront</td>\n",
" <td>39.501686</td>\n",
" <td>-79.32188</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Lake Front\"]</td>\n",
" <td>[\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Glendale Rd.\"]</td>\n",
" <td>[\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"Dock\", \"Dock (Private)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"No Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/enchanted-lakefront>https://www.deepcreek.com/vacation-rentals/enchanted-lakefront</a></td>\n",
" <td>36</td>\n",
" <td>4.3889</td>\n",
" <td>7</td>\n",
" <td>8</td>\n",
" <td>22</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-672</td>\n",
" <td>Lake Chalet</td>\n",
" <td>39.50114</td>\n",
" <td>-79.31453</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Lake Area\"]</td>\n",
" <td>[\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\", \"Cabin\"]</td>\n",
" <td>None</td>\n",
" <td>[\"Yellowstone\"]</td>\n",
" <td>[\"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C (Central)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"Fireplace\", \"Fireplace (Wood)\", \"Game Table\", \"Grill\", \"Grill (Charcoal)\", \"Hot Tub\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"No Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/lake-chalet>https://www.deepcreek.com/vacation-rentals/lake-chalet</a></td>\n",
" <td>36</td>\n",
" <td>4.4444</td>\n",
" <td>4</td>\n",
" <td>4</td>\n",
" <td>12</td>\n",
" <td>None</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-675</td>\n",
" <td>Lake 'N Logs</td>\n",
" <td>39.499172</td>\n",
" <td>-79.28665</td>\n",
" <td>0</td>\n",
" <td>30</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Lake Front\"]</td>\n",
" <td>[\"Signature Collection Home\", \"A/C\", \"Dock\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Beckman's Peninsula\"]</td>\n",
" <td>[\"Signature Collection Home\", \"A/C (Central)\", \"A/C\", \"Dock\", \"Dock (Private)\", \"Fireplace\", \"Fireplace (Gas)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/lake-n-logs>https://www.deepcreek.com/vacation-rentals/lake-n-logs</a></td>\n",
" <td>32</td>\n",
" <td>4.9063</td>\n",
" <td>3</td>\n",
" <td>5</td>\n",
" <td>14</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-683</td>\n",
" <td>Lake Effect</td>\n",
" <td>39.500214</td>\n",
" <td>-79.27337</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Lake Front\"]</td>\n",
" <td>[\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Harvey's Peninsula\"]</td>\n",
" <td>[\"A/C (Partial)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"Dog Friendly\", \"A/C\", \"Dock\", \"Dock (Private)\", \"Fireplace\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/lake-effect>https://www.deepcreek.com/vacation-rentals/lake-effect</a></td>\n",
" <td>43</td>\n",
" <td>4.5581</td>\n",
" <td>3</td>\n",
" <td>3</td>\n",
" <td>10</td>\n",
" <td>None</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-738</td>\n",
" <td>The Lakehouse</td>\n",
" <td>39.501854</td>\n",
" <td>-79.32005</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Lake Front\"]</td>\n",
" <td>[\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Silver Tree Landing\"]</td>\n",
" <td>[\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"Dog Friendly\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"No Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/lakehouse>https://www.deepcreek.com/vacation-rentals/lakehouse</a></td>\n",
" <td>13</td>\n",
" <td>4.5385</td>\n",
" <td>6</td>\n",
" <td>8</td>\n",
" <td>22</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-826</td>\n",
" <td>On Lake Time</td>\n",
" <td>39.498966</td>\n",
" <td>-79.32662</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Lake Area\"]</td>\n",
" <td>[\"Signature Collection Home\", \"A/C\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Pool Table\", \"WIFI\"]</td>\n",
" <td>[\"Duplex\"]</td>\n",
" <td>[\"Timberlake\"]</td>\n",
" <td>[\"A/C (Central)\", \"Signature Collection Home\", \"A/C\", \"Fireplace\", \"Fireplace (Gas)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Pool Table\", \"WIFI\", \"Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/lake-time>https://www.deepcreek.com/vacation-rentals/lake-time</a></td>\n",
" <td>50</td>\n",
" <td>4.44</td>\n",
" <td>4</td>\n",
" <td>5</td>\n",
" <td>12</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-830</td>\n",
" <td>Traditions on the Lake</td>\n",
" <td>39.516163</td>\n",
" <td>-79.32477</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Lake Front\"]</td>\n",
" <td>[\"A/C\", \"Dock\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Streaming Capable TVs\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Route 219 (Garrett Hwy)\"]</td>\n",
" <td>[\"A/C (Central)\", \"A/C\", \"Dock\", \"Dock (Private)\", \"Fireplace\", \"Fireplace (Gas)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Streaming Service Capable TVs\", \"WIFI\", \"Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/traditions-lake>https://www.deepcreek.com/vacation-rentals/traditions-lake</a></td>\n",
" <td>37</td>\n",
" <td>4.3784</td>\n",
" <td>3</td>\n",
" <td>5</td>\n",
" <td>14</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" <tr>\n",
" <td>e2el5x-rci-849</td>\n",
" <td>Castle at the Lake</td>\n",
" <td>39.50537</td>\n",
" <td>-79.279144</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>[\"Golf Area\", \"Lake Front\"]</td>\n",
" <td>[\"Signature Collection Home\", \"A/C\", \"Dock\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"Swimming Pool\", \"Weddings Considered (Fees Apply)\", \"WIFI\"]</td>\n",
" <td>[\"House\"]</td>\n",
" <td>[\"Waterfront Greens\"]</td>\n",
" <td>[\"A/C (Central)\", \"Signature Collection Home\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"Swimming Pool\", \"Swimming Pool (Private)\", \"Weddings Considered (Fees Apply)\", \"WIFI\", \"No Bunk Beds\"]</td>\n",
" <td><a href=https://www.deepcreek.com/vacation-rentals/castle-lake>https://www.deepcreek.com/vacation-rentals/castle-lake</a></td>\n",
" <td>61</td>\n",
" <td>4.4754</td>\n",
" <td>5</td>\n",
" <td>5</td>\n",
" <td>14</td>\n",
" <td>[\"1\"]</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<span style=\"font-style:italic;text-align:center;\">Truncated to <a href=\"https://jupysql.ploomber.io/en/latest/api/configuration.html#displaylimit\">displaylimit</a> of 10.</span>"
],
"text/plain": [
"+----------------+------------------------+-----------+------------+--------------------+----------------+---------+--------------------------+-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+---------------+----------------+-------+------+-----------------+--------------+\n",
"| id | name | latitude | longitude | prioritize_listing | min_rental_age | promote | property_search_priority | access_types | featured_amenities | home_type | neighborhood | all_amenities | url | reviews_count | reviews_rating | baths | beds | total_occupants | shared_baths |\n",
"+----------------+------------------------+-----------+------------+--------------------+----------------+---------+--------------------------+-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+---------------+----------------+-------+------+-----------------+--------------+\n",
"| e2el5x-rci-592 | At Lake's Edge | 39.50574 | -79.277855 | 0 | 24 | 0 | 0 | [\"Golf Area\", \"Lake Front\"] | [\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"Weddings Considered (Fees Apply)\", \"WIFI\"] | [\"House\"] | [\"Waterfront Greens\"] | [\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"Weddings Considered (Fees Apply)\", \"WIFI\", \"No Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/lakes-edge>https://www.deepcreek.com/vacation-rentals/lakes-edge</a> | 37 | 4.3784 | 7 | 8 | 20 | [\"1\"] |\n",
"| e2el5x-rci-625 | Chalet By The Lake | 39.55737 | -79.35986 | 0 | 24 | 0 | 0 | [\"Ski Area\", \"Lake Access\"] | [\"CARC\", \"A/C\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"WIFI\"] | [\"House\"] | [\"Lake Pointe\"] | [\"A/C (Central)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"All Bedrooms Are Suites\", \"Fireplace\", \"Fireplace (Gas)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"WIFI\", \"Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/chalet-lake>https://www.deepcreek.com/vacation-rentals/chalet-lake</a> | 33 | 4.5758 | 3 | 3 | 8 | None |\n",
"| e2el5x-rci-647 | Enchanted Lakefront | 39.501686 | -79.32188 | 0 | 24 | 0 | 0 | [\"Lake Front\"] | [\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\"] | [\"House\"] | [\"Glendale Rd.\"] | [\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"Dock\", \"Dock (Private)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"No Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/enchanted-lakefront>https://www.deepcreek.com/vacation-rentals/enchanted-lakefront</a> | 36 | 4.3889 | 7 | 8 | 22 | [\"1\"] |\n",
"| e2el5x-rci-672 | Lake Chalet | 39.50114 | -79.31453 | 0 | 24 | 0 | 0 | [\"Lake Area\"] | [\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\", \"Cabin\"] | None | [\"Yellowstone\"] | [\"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C (Central)\", \"CARC Indoor Pool & Fitness Membership\", \"A/C\", \"Fireplace\", \"Fireplace (Wood)\", \"Game Table\", \"Grill\", \"Grill (Charcoal)\", \"Hot Tub\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"No Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/lake-chalet>https://www.deepcreek.com/vacation-rentals/lake-chalet</a> | 36 | 4.4444 | 4 | 4 | 12 | None |\n",
"| e2el5x-rci-675 | Lake 'N Logs | 39.499172 | -79.28665 | 0 | 30 | 0 | 0 | [\"Lake Front\"] | [\"Signature Collection Home\", \"A/C\", \"Dock\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\"] | [\"House\"] | [\"Beckman's Peninsula\"] | [\"Signature Collection Home\", \"A/C (Central)\", \"A/C\", \"Dock\", \"Dock (Private)\", \"Fireplace\", \"Fireplace (Gas)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/lake-n-logs>https://www.deepcreek.com/vacation-rentals/lake-n-logs</a> | 32 | 4.9063 | 3 | 5 | 14 | [\"1\"] |\n",
"| e2el5x-rci-683 | Lake Effect | 39.500214 | -79.27337 | 0 | 24 | 0 | 0 | [\"Lake Front\"] | [\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\"] | [\"House\"] | [\"Harvey's Peninsula\"] | [\"A/C (Partial)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"Dog Friendly\", \"A/C\", \"Dock\", \"Dock (Private)\", \"Fireplace\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/lake-effect>https://www.deepcreek.com/vacation-rentals/lake-effect</a> | 43 | 4.5581 | 3 | 3 | 10 | None |\n",
"| e2el5x-rci-738 | The Lakehouse | 39.501854 | -79.32005 | 0 | 24 | 0 | 0 | [\"Lake Front\"] | [\"CARC\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"A/C\", \"Dock\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"WIFI\"] | [\"House\"] | [\"Silver Tree Landing\"] | [\"A/C (Central)\", \"Provides Firewood (Valid: 9/15 - 4/15)\", \"CARC Indoor Pool & Fitness Membership\", \"Dog Friendly\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Fireplace\", \"Fireplace (Gas)\", \"Fireplace (Wood)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"WIFI\", \"No Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/lakehouse>https://www.deepcreek.com/vacation-rentals/lakehouse</a> | 13 | 4.5385 | 6 | 8 | 22 | [\"1\"] |\n",
"| e2el5x-rci-826 | On Lake Time | 39.498966 | -79.32662 | 0 | 24 | 0 | 0 | [\"Lake Area\"] | [\"Signature Collection Home\", \"A/C\", \"Fireplace\", \"Grill\", \"Hot Tub\", \"Pool Table\", \"WIFI\"] | [\"Duplex\"] | [\"Timberlake\"] | [\"A/C (Central)\", \"Signature Collection Home\", \"A/C\", \"Fireplace\", \"Fireplace (Gas)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Pool Table\", \"WIFI\", \"Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/lake-time>https://www.deepcreek.com/vacation-rentals/lake-time</a> | 50 | 4.44 | 4 | 5 | 12 | [\"1\"] |\n",
"| e2el5x-rci-830 | Traditions on the Lake | 39.516163 | -79.32477 | 0 | 24 | 0 | 0 | [\"Lake Front\"] | [\"A/C\", \"Dock\", \"Fireplace\", \"Game Table\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Streaming Capable TVs\", \"WIFI\"] | [\"House\"] | [\"Route 219 (Garrett Hwy)\"] | [\"A/C (Central)\", \"A/C\", \"Dock\", \"Dock (Private)\", \"Fireplace\", \"Fireplace (Gas)\", \"Game Table\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Streaming Service Capable TVs\", \"WIFI\", \"Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/traditions-lake>https://www.deepcreek.com/vacation-rentals/traditions-lake</a> | 37 | 4.3784 | 3 | 5 | 14 | [\"1\"] |\n",
"| e2el5x-rci-849 | Castle at the Lake | 39.50537 | -79.279144 | 0 | 24 | 0 | 0 | [\"Golf Area\", \"Lake Front\"] | [\"Signature Collection Home\", \"A/C\", \"Dock\", \"Grill\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Capable TVs\", \"Swimming Pool\", \"Weddings Considered (Fees Apply)\", \"WIFI\"] | [\"House\"] | [\"Waterfront Greens\"] | [\"A/C (Central)\", \"Signature Collection Home\", \"A/C\", \"Dock\", \"Dock (Slip)\", \"Grill\", \"Grill (Gas)\", \"Hot Tub\", \"Outdoor Fireplace or Fire Pit\", \"Pool Table\", \"Streaming Service Capable TVs\", \"Swimming Pool\", \"Swimming Pool (Private)\", \"Weddings Considered (Fees Apply)\", \"WIFI\", \"No Bunk Beds\"] | <a href=https://www.deepcreek.com/vacation-rentals/castle-lake>https://www.deepcreek.com/vacation-rentals/castle-lake</a> | 61 | 4.4754 | 5 | 5 | 14 | [\"1\"] |\n",
"+----------------+------------------------+-----------+------------+--------------------+----------------+---------+--------------------------+-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+---------------+----------------+-------+------+-----------------+--------------+\n",
"Truncated to displaylimit of 10."
]
},
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%%sql\n",
"SELECT * from all_railey_properties WHERE name LIKE '%Lake%'"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "jupyterwithpackages",
"language": "python",
"name": "jupyterwithpackages"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
},
"toc-autonumbering": true,
"toc-showmarkdowntxt": false
},
"nbformat": 4,
"nbformat_minor": 5
}