From 03888d936d690568ce855cb6c3d57365720b4b13 Mon Sep 17 00:00:00 2001 From: pryn-kb Date: Mon, 2 Sep 2024 12:23:13 +0000 Subject: [PATCH] deploy: 9996be848b57df49fa81b4f20769b48de0668609 --- _sources/docs/pandas/03_Pandas_subsets.ipynb | 262 ++++++++++++++----- _sources/docs/pandas/03_pandas_subsets.ipynb | 262 ++++++++++++++----- _to_be_deleted_later/notebooks.html | 2 +- docs/pandas/02_Pandas_tabular_data.html | 2 +- docs/pandas/03_Pandas_subsets.html | 231 ++++++++++------ docs/pandas/03_pandas_subsets.html | 229 ++++++++++------ docs/pandas/04-Variables.html | 18 +- docs/pandas/04_Pandas_loc_iloc.html | 2 +- searchindex.js | 2 +- 9 files changed, 724 insertions(+), 286 deletions(-) diff --git a/_sources/docs/pandas/03_Pandas_subsets.ipynb b/_sources/docs/pandas/03_Pandas_subsets.ipynb index 1349e294..159e37a7 100644 --- a/_sources/docs/pandas/03_Pandas_subsets.ipynb +++ b/_sources/docs/pandas/03_Pandas_subsets.ipynb @@ -820,7 +820,7 @@ "id": "975963cb-241a-4036-b90e-c3c1290511a4", "metadata": {}, "source": [ - "Now that you’ve learned how to select specific columns from a DataFrame, it’s time to explore more advanced and flexible ways to access and manipulate your data. As you start filtering rows based on conditions or need to select both rows and columns simultaneously, using `.loc[]` and `.iloc[]` will give you greater control and clarity in your code.\n", + "Now that you’ve learned how to select specific columns from a `DataFrame`, it’s time to explore more advanced and flexible ways to access and manipulate your data. As you start filtering rows based on conditions or need to select both rows and columns simultaneously, using `.loc[]` and `.iloc[]` will give you greater control and clarity in your code.\n", "\n", "These powerful tools allow you to:\n", "\n", @@ -857,9 +857,9 @@ "\n", "**Why is this a bad idea?**\n", "\n", - "- **Ambiguity**: It’s not always clear if you're modifying a copy of your data or the original DataFrame, which can lead to unintended side effects.\n", - "- **Potential Errors**: Using square brackets for complex selections might trigger warnings like `SettingWithCopyWarning`, indicating that your code might not be doing what you think it is.\n", - "- **Lack of Flexibility**: As your data operations become more complex, relying on square brackets can limit your ability to write clear and maintainable code.\n", + "- **Ambiguity**: It’s not always clear if you're modifying a copy of your data or the original `DataFrame`, which can lead to unintended side effects.\n", + "- **Potential errors**: Using square brackets for complex selections might trigger warnings like `SettingWithCopyWarning`, indicating that your code might not be doing what you think it is.\n", + "- **Lack of flexibility**: As your data operations become more complex, relying on square brackets can limit your ability to write clear and maintainable code.\n", "\n", "For these reasons, we recommend using `.loc[]` and `.iloc[]` as they provide a more reliable and explicit way to handle data selection and modification in Pandas.\n", "\n", @@ -886,7 +886,7 @@ "tags": [] }, "source": [ - "### Filtering rows based on conditional expressions\n", + "## Filtering rows based on conditional expressions\n", "\n", "![Filtering specific rows from a DataFrame](images/03_subset_rows.svg)" ] @@ -896,7 +896,7 @@ "id": "7ece850f-2344-49d6-8dfb-6fed8c58f18c", "metadata": {}, "source": [ - "With `.loc[]` and `.iloc[]`, you have more control and flexibility when filtering rows and selecting columns in a DataFrame.\n", + "With `.loc[]` and `.iloc[]`, you have more control and flexibility when filtering rows and selecting columns in a `DataFrame`.\n", "\n", "Let’s start by exploring how you can use these tools to filter rows based on conditions." ] @@ -906,7 +906,7 @@ "id": "903513f6-4ba8-4a19-850f-918b5dd97b21", "metadata": {}, "source": [ - "#### Filtering specific rows with `.loc[]`\n", + "### Filtering specific rows with `.loc[]`\n", "\n", "To filter rows based on a condition, you can place the condition inside the `.loc[]` selector.\n", "\n", @@ -1198,7 +1198,7 @@ "tags": [] }, "source": [ - "This command filters the rows where the condition `titanic['Age'] > 35` is `True`, and returns the entire DataFrame for those rows.\n", + "This command filters the rows where the condition `titanic['Age'] > 35` is `True`, and returns the entire `DataFrame` for those rows.\n", "\n", "If you only want to select specific columns (e.g., `Name` and `Pclass`) for those filtered rows, you can add the column names after the comma:" ] @@ -1338,9 +1338,10 @@ "source": [ "```{admonition} When using loc/iloc\n", ":class: tip\n", - "The part *before the comma* is the *rows* you want\n", "\n", - "The part *after the comma* is the *columns* you want to select\n", + "The part *before the comma* is the *rows* you want to select.\n", + "\n", + "The part *after the comma* is the *columns* you want to select.\n", "```" ] }, @@ -1349,7 +1350,7 @@ "id": "39b84234-a6f9-48c8-82a6-e9515d0afa7e", "metadata": {}, "source": [ - "#### Using `.iloc[]` for positional indexing\n", + "### Using `.iloc[]` for positional indexing\n", "\n", "The `.iloc[]` method works similarly to `.loc[]`, but it selects rows and columns based on their integer positions rather than labels.\n", "\n", @@ -1456,7 +1457,7 @@ "tags": [] }, "source": [ - "### Inclusive vs. Exclusive Slicing\n", + "## Inclusive vs. Exclusive Slicing\n", "\n", "When slicing with `.loc[]`, the slicing is **inclusive** of the start and end labels. For example:" ] @@ -1631,19 +1632,27 @@ "titanic.iloc[0:3, 0:2]" ] }, + { + "cell_type": "markdown", + "id": "e0be5523-1168-4a3d-be4c-0cea81a4a2cc", + "metadata": {}, + "source": [ + "## Using `.loc[]` and `.iloc[]` for complex conditions" + ] + }, { "cell_type": "markdown", "id": "b48d6163-81a7-4bea-9fa8-cbdab2288cb5", "metadata": {}, "source": [ - "### Using `.loc[]` for complex conditions\n", + "You can use both `.loc[]` and `.iloc[]` to filter rows based on more complex conditions, combining multiple criteria with logical operators.\n", "\n", - "You can also use `.loc[]` to filter rows based on more complex conditions, combining multiple criteria with logical operators. For instance, to filter rows where `Pclass` is either 2 or 3:" + "For instance, to filter rows where `Pclass` is either 2 or 3 using `.loc[]`:" ] }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 27, "id": "0e5b553f-8987-4f9a-90af-30a3ac194a88", "metadata": { "tags": [ @@ -1887,7 +1896,7 @@ "[675 rows x 12 columns]" ] }, - "execution_count": 19, + "execution_count": 27, "metadata": {}, "output_type": "execute_result" } @@ -1898,17 +1907,25 @@ "titanic.loc[titanic['Pclass'].isin([2, 3])]" ] }, + { + "cell_type": "markdown", + "id": "3db35580-9be7-4c17-9d1d-975da8faab2f", + "metadata": {}, + "source": [ + "Similarly, if you want to perform position-based filtering using `.iloc[]`, you would first need to identify the positions of the relevant rows and columns. However, `.iloc[]` is typically less useful for condition-based filtering because it requires knowledge of the exact row and column positions rather than labels." + ] + }, { "cell_type": "markdown", "id": "5b2120f5-0c03-41a4-8b98-4fbfb43ba993", "metadata": {}, "source": [ - "You can combine multiple conditions using logical operators like `&` (AND) and `|` (OR):" + "You can also combine multiple conditions using logical operators like `&` (AND) and `|` (OR):" ] }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 26, "id": "a6ec973c-37e0-4aa7-bd61-ad4ef508206b", "metadata": { "tags": [ @@ -1943,11 +1960,6 @@ " \n", " \n", " \n", - " 9\n", - " Nasser, Mrs. Nicholas (Adele Achem)\n", - " 2\n", - " \n", - " \n", " 13\n", " Andersson, Mr. Anders Johan\n", " 3\n", @@ -1958,76 +1970,90 @@ " 2\n", " \n", " \n", - " 17\n", - " Williams, Mr. Charles Eugene\n", - " 2\n", + " 25\n", + " Asplund, Mrs. Carl Oscar (Selma Augusta Emilia...\n", + " 3\n", " \n", " \n", - " 20\n", - " Fynney, Mr. Joseph J\n", + " 33\n", + " Wheadon, Mr. Edward H\n", " 2\n", " \n", " \n", + " 40\n", + " Ahlin, Mrs. Johan (Johanna Persdotter Larsson)\n", + " 3\n", + " \n", + " \n", " ...\n", " ...\n", " ...\n", " \n", " \n", - " 874\n", - " Abelson, Mrs. Samuel (Hannah Wizosky)\n", + " 854\n", + " Carter, Mrs. Ernest Courtenay (Lilian Hughes)\n", " 2\n", " \n", " \n", - " 880\n", - " Shelley, Mrs. William (Imanita Parrish Hall)\n", - " 2\n", + " 860\n", + " Hansen, Mr. Claus Peter\n", + " 3\n", " \n", " \n", - " 883\n", - " Banfield, Mr. Frederick James\n", + " 865\n", + " Bystrom, Mrs. (Karolina)\n", " 2\n", " \n", " \n", - " 885\n", - " Rice, Mrs. William (Margaret Norton)\n", + " 873\n", + " Vander Cruyssen, Mr. Victor\n", " 3\n", " \n", " \n", - " 886\n", - " Montvila, Rev. Juozas\n", - " 2\n", + " 885\n", + " Rice, Mrs. William (Margaret Norton)\n", + " 3\n", " \n", " \n", "\n", - "

247 rows × 2 columns

\n", + "

113 rows × 2 columns

\n", "" ], "text/plain": [ - " Name Pclass\n", - "9 Nasser, Mrs. Nicholas (Adele Achem) 2\n", - "13 Andersson, Mr. Anders Johan 3\n", - "15 Hewlett, Mrs. (Mary D Kingcome) 2\n", - "17 Williams, Mr. Charles Eugene 2\n", - "20 Fynney, Mr. Joseph J 2\n", - ".. ... ...\n", - "874 Abelson, Mrs. Samuel (Hannah Wizosky) 2\n", - "880 Shelley, Mrs. William (Imanita Parrish Hall) 2\n", - "883 Banfield, Mr. Frederick James 2\n", - "885 Rice, Mrs. William (Margaret Norton) 3\n", - "886 Montvila, Rev. Juozas 2\n", + " Name Pclass\n", + "13 Andersson, Mr. Anders Johan 3\n", + "15 Hewlett, Mrs. (Mary D Kingcome) 2\n", + "25 Asplund, Mrs. Carl Oscar (Selma Augusta Emilia... 3\n", + "33 Wheadon, Mr. Edward H 2\n", + "40 Ahlin, Mrs. Johan (Johanna Persdotter Larsson) 3\n", + ".. ... ...\n", + "854 Carter, Mrs. Ernest Courtenay (Lilian Hughes) 2\n", + "860 Hansen, Mr. Claus Peter 3\n", + "865 Bystrom, Mrs. (Karolina) 2\n", + "873 Vander Cruyssen, Mr. Victor 3\n", + "885 Rice, Mrs. William (Margaret Norton) 3\n", "\n", - "[247 rows x 2 columns]" + "[113 rows x 2 columns]" ] }, - "execution_count": 20, + "execution_count": 26, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "# Filter rows where 'Pclass' is 2 or 3 and 'Age' is greater than 35, and select 'Name' and 'Pclass'.\n", + "# Filter rows where ('Pclass' is either 2 or 3) AND ('Age' is greater than 35),\n", + "# and then select the 'Name' and 'Pclass' columns.\n", "\n", - "titanic.loc[(titanic['Pclass'] == 2) | (titanic['Pclass'] == 3) & (titanic['Age'] > 35), ['Name', 'Pclass']]" + "titanic.loc[((titanic['Pclass'] == 2) | (titanic['Pclass'] == 3)) & (titanic['Age'] > 35), ['Name', 'Pclass']]" + ] + }, + { + "cell_type": "markdown", + "id": "da9cb04b-4246-4c5f-be72-bf8f85fa0a5b", + "metadata": {}, + "source": [ + "## Handling missing values with `.loc[]` and `.iloc[]`" ] }, { @@ -2035,9 +2061,10 @@ "id": "406599e3-1a91-4e45-b609-cf6f3e1f7cc0", "metadata": {}, "source": [ - "### Handling missing values with `.loc[]`\n", + "Both `.loc[]` and `.iloc[]` allow you to filter rows based on the presence or absence of missing values.\\\n", + "(However, `.loc[]` is generally more convenient when working with labeled data, while `.iloc[]` requires knowing the exact positions.)\n", "\n", - "The `.loc[]` method also allows you to filter rows based on the presence or absence of missing values. For example, to filter rows where the `Embarked` column is not null:" + "For example, to filter rows where the `Embarked` column is not null using `.loc[]`:" ] }, { @@ -2360,6 +2387,115 @@ "titanic.info()" ] }, + { + "cell_type": "markdown", + "id": "47535c74-e158-4a89-9bc9-a1cea1aa70df", + "metadata": {}, + "source": [ + "Comparing the two number of rows (889 and 891) tells us, that two rows are missing embarkation data.\n", + "\n", + "As we saw in the [exercise](02_pandas_tabular_data.md#exercise) on the previous page on reading and writing tabular data, the two rows missing embarkation data can be found like this:" + ] + }, + { + "cell_type": "code", + "execution_count": 28, + "id": "e4a29062-fc16-4519-bde3-ad8f802a0b14", + "metadata": { + "tags": [ + "hide-output" + ] + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
PassengerIdSurvivedPclassNameSexAgeSibSpParchTicketFareCabinEmbarked
616211Icard, Miss. Ameliefemale38.00011357280.0B28NaN
82983011Stone, Mrs. George Nelson (Martha Evelyn)female62.00011357280.0B28NaN
\n", + "
" + ], + "text/plain": [ + " PassengerId Survived Pclass Name \\\n", + "61 62 1 1 Icard, Miss. Amelie \n", + "829 830 1 1 Stone, Mrs. George Nelson (Martha Evelyn) \n", + "\n", + " Sex Age SibSp Parch Ticket Fare Cabin Embarked \n", + "61 female 38.0 0 0 113572 80.0 B28 NaN \n", + "829 female 62.0 0 0 113572 80.0 B28 NaN " + ] + }, + "execution_count": 28, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "titanic[titanic['Embarked'].isna()]" + ] + }, { "cell_type": "markdown", "id": "c50b13ad-3a6a-4162-ac04-fc0aa86da086", @@ -2385,7 +2521,7 @@ "tags": [] }, "source": [ - "### Selecting rows and columns\n", + "## Selecting rows and columns\n", "\n", "![Selecting specific rows and columns from a DataFrame](images/03_subset_columns_rows.svg)" ] @@ -2537,7 +2673,7 @@ "id": "0ee5aef8-30b9-4e07-ad18-d938822d9ad2", "metadata": {}, "source": [ - "### Combining `loc` and `iloc`" + "## Combining `loc` and `iloc`" ] }, { @@ -2645,7 +2781,7 @@ "tags": [] }, "source": [ - "### Summary\n", + "## Summary\n", "\n", "Using `.loc[]` and `.iloc[]` allows you to write clearer, more precise code for selecting and manipulating data in Pandas. Whether you are filtering rows based on complex conditions or selecting specific rows and columns simultaneously, these tools offer the flexibility and reliability you need for more advanced data manipulation tasks." ] @@ -2687,7 +2823,7 @@ " * Slicing with `.loc[]` is inclusive, while slicing with `.iloc[]` is exclusive.\n", "\n", "* **Filtering data**:\n", - " * Filter rows based on conditions using `.loc[]`, and apply additional conditions or select specific columns within the same operation." + " * Filter rows based on conditions using `.loc[]` and `.iloc[]`, and apply additional conditions or select specific columns within the same operation." ] }, { diff --git a/_sources/docs/pandas/03_pandas_subsets.ipynb b/_sources/docs/pandas/03_pandas_subsets.ipynb index 1349e294..159e37a7 100644 --- a/_sources/docs/pandas/03_pandas_subsets.ipynb +++ b/_sources/docs/pandas/03_pandas_subsets.ipynb @@ -820,7 +820,7 @@ "id": "975963cb-241a-4036-b90e-c3c1290511a4", "metadata": {}, "source": [ - "Now that you’ve learned how to select specific columns from a DataFrame, it’s time to explore more advanced and flexible ways to access and manipulate your data. As you start filtering rows based on conditions or need to select both rows and columns simultaneously, using `.loc[]` and `.iloc[]` will give you greater control and clarity in your code.\n", + "Now that you’ve learned how to select specific columns from a `DataFrame`, it’s time to explore more advanced and flexible ways to access and manipulate your data. As you start filtering rows based on conditions or need to select both rows and columns simultaneously, using `.loc[]` and `.iloc[]` will give you greater control and clarity in your code.\n", "\n", "These powerful tools allow you to:\n", "\n", @@ -857,9 +857,9 @@ "\n", "**Why is this a bad idea?**\n", "\n", - "- **Ambiguity**: It’s not always clear if you're modifying a copy of your data or the original DataFrame, which can lead to unintended side effects.\n", - "- **Potential Errors**: Using square brackets for complex selections might trigger warnings like `SettingWithCopyWarning`, indicating that your code might not be doing what you think it is.\n", - "- **Lack of Flexibility**: As your data operations become more complex, relying on square brackets can limit your ability to write clear and maintainable code.\n", + "- **Ambiguity**: It’s not always clear if you're modifying a copy of your data or the original `DataFrame`, which can lead to unintended side effects.\n", + "- **Potential errors**: Using square brackets for complex selections might trigger warnings like `SettingWithCopyWarning`, indicating that your code might not be doing what you think it is.\n", + "- **Lack of flexibility**: As your data operations become more complex, relying on square brackets can limit your ability to write clear and maintainable code.\n", "\n", "For these reasons, we recommend using `.loc[]` and `.iloc[]` as they provide a more reliable and explicit way to handle data selection and modification in Pandas.\n", "\n", @@ -886,7 +886,7 @@ "tags": [] }, "source": [ - "### Filtering rows based on conditional expressions\n", + "## Filtering rows based on conditional expressions\n", "\n", "![Filtering specific rows from a DataFrame](images/03_subset_rows.svg)" ] @@ -896,7 +896,7 @@ "id": "7ece850f-2344-49d6-8dfb-6fed8c58f18c", "metadata": {}, "source": [ - "With `.loc[]` and `.iloc[]`, you have more control and flexibility when filtering rows and selecting columns in a DataFrame.\n", + "With `.loc[]` and `.iloc[]`, you have more control and flexibility when filtering rows and selecting columns in a `DataFrame`.\n", "\n", "Let’s start by exploring how you can use these tools to filter rows based on conditions." ] @@ -906,7 +906,7 @@ "id": "903513f6-4ba8-4a19-850f-918b5dd97b21", "metadata": {}, "source": [ - "#### Filtering specific rows with `.loc[]`\n", + "### Filtering specific rows with `.loc[]`\n", "\n", "To filter rows based on a condition, you can place the condition inside the `.loc[]` selector.\n", "\n", @@ -1198,7 +1198,7 @@ "tags": [] }, "source": [ - "This command filters the rows where the condition `titanic['Age'] > 35` is `True`, and returns the entire DataFrame for those rows.\n", + "This command filters the rows where the condition `titanic['Age'] > 35` is `True`, and returns the entire `DataFrame` for those rows.\n", "\n", "If you only want to select specific columns (e.g., `Name` and `Pclass`) for those filtered rows, you can add the column names after the comma:" ] @@ -1338,9 +1338,10 @@ "source": [ "```{admonition} When using loc/iloc\n", ":class: tip\n", - "The part *before the comma* is the *rows* you want\n", "\n", - "The part *after the comma* is the *columns* you want to select\n", + "The part *before the comma* is the *rows* you want to select.\n", + "\n", + "The part *after the comma* is the *columns* you want to select.\n", "```" ] }, @@ -1349,7 +1350,7 @@ "id": "39b84234-a6f9-48c8-82a6-e9515d0afa7e", "metadata": {}, "source": [ - "#### Using `.iloc[]` for positional indexing\n", + "### Using `.iloc[]` for positional indexing\n", "\n", "The `.iloc[]` method works similarly to `.loc[]`, but it selects rows and columns based on their integer positions rather than labels.\n", "\n", @@ -1456,7 +1457,7 @@ "tags": [] }, "source": [ - "### Inclusive vs. Exclusive Slicing\n", + "## Inclusive vs. Exclusive Slicing\n", "\n", "When slicing with `.loc[]`, the slicing is **inclusive** of the start and end labels. For example:" ] @@ -1631,19 +1632,27 @@ "titanic.iloc[0:3, 0:2]" ] }, + { + "cell_type": "markdown", + "id": "e0be5523-1168-4a3d-be4c-0cea81a4a2cc", + "metadata": {}, + "source": [ + "## Using `.loc[]` and `.iloc[]` for complex conditions" + ] + }, { "cell_type": "markdown", "id": "b48d6163-81a7-4bea-9fa8-cbdab2288cb5", "metadata": {}, "source": [ - "### Using `.loc[]` for complex conditions\n", + "You can use both `.loc[]` and `.iloc[]` to filter rows based on more complex conditions, combining multiple criteria with logical operators.\n", "\n", - "You can also use `.loc[]` to filter rows based on more complex conditions, combining multiple criteria with logical operators. For instance, to filter rows where `Pclass` is either 2 or 3:" + "For instance, to filter rows where `Pclass` is either 2 or 3 using `.loc[]`:" ] }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 27, "id": "0e5b553f-8987-4f9a-90af-30a3ac194a88", "metadata": { "tags": [ @@ -1887,7 +1896,7 @@ "[675 rows x 12 columns]" ] }, - "execution_count": 19, + "execution_count": 27, "metadata": {}, "output_type": "execute_result" } @@ -1898,17 +1907,25 @@ "titanic.loc[titanic['Pclass'].isin([2, 3])]" ] }, + { + "cell_type": "markdown", + "id": "3db35580-9be7-4c17-9d1d-975da8faab2f", + "metadata": {}, + "source": [ + "Similarly, if you want to perform position-based filtering using `.iloc[]`, you would first need to identify the positions of the relevant rows and columns. However, `.iloc[]` is typically less useful for condition-based filtering because it requires knowledge of the exact row and column positions rather than labels." + ] + }, { "cell_type": "markdown", "id": "5b2120f5-0c03-41a4-8b98-4fbfb43ba993", "metadata": {}, "source": [ - "You can combine multiple conditions using logical operators like `&` (AND) and `|` (OR):" + "You can also combine multiple conditions using logical operators like `&` (AND) and `|` (OR):" ] }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 26, "id": "a6ec973c-37e0-4aa7-bd61-ad4ef508206b", "metadata": { "tags": [ @@ -1943,11 +1960,6 @@ " \n", " \n", " \n", - " 9\n", - " Nasser, Mrs. Nicholas (Adele Achem)\n", - " 2\n", - " \n", - " \n", " 13\n", " Andersson, Mr. Anders Johan\n", " 3\n", @@ -1958,76 +1970,90 @@ " 2\n", " \n", " \n", - " 17\n", - " Williams, Mr. Charles Eugene\n", - " 2\n", + " 25\n", + " Asplund, Mrs. Carl Oscar (Selma Augusta Emilia...\n", + " 3\n", " \n", " \n", - " 20\n", - " Fynney, Mr. Joseph J\n", + " 33\n", + " Wheadon, Mr. Edward H\n", " 2\n", " \n", " \n", + " 40\n", + " Ahlin, Mrs. Johan (Johanna Persdotter Larsson)\n", + " 3\n", + " \n", + " \n", " ...\n", " ...\n", " ...\n", " \n", " \n", - " 874\n", - " Abelson, Mrs. Samuel (Hannah Wizosky)\n", + " 854\n", + " Carter, Mrs. Ernest Courtenay (Lilian Hughes)\n", " 2\n", " \n", " \n", - " 880\n", - " Shelley, Mrs. William (Imanita Parrish Hall)\n", - " 2\n", + " 860\n", + " Hansen, Mr. Claus Peter\n", + " 3\n", " \n", " \n", - " 883\n", - " Banfield, Mr. Frederick James\n", + " 865\n", + " Bystrom, Mrs. (Karolina)\n", " 2\n", " \n", " \n", - " 885\n", - " Rice, Mrs. William (Margaret Norton)\n", + " 873\n", + " Vander Cruyssen, Mr. Victor\n", " 3\n", " \n", " \n", - " 886\n", - " Montvila, Rev. Juozas\n", - " 2\n", + " 885\n", + " Rice, Mrs. William (Margaret Norton)\n", + " 3\n", " \n", " \n", "\n", - "

247 rows × 2 columns

\n", + "

113 rows × 2 columns

\n", "" ], "text/plain": [ - " Name Pclass\n", - "9 Nasser, Mrs. Nicholas (Adele Achem) 2\n", - "13 Andersson, Mr. Anders Johan 3\n", - "15 Hewlett, Mrs. (Mary D Kingcome) 2\n", - "17 Williams, Mr. Charles Eugene 2\n", - "20 Fynney, Mr. Joseph J 2\n", - ".. ... ...\n", - "874 Abelson, Mrs. Samuel (Hannah Wizosky) 2\n", - "880 Shelley, Mrs. William (Imanita Parrish Hall) 2\n", - "883 Banfield, Mr. Frederick James 2\n", - "885 Rice, Mrs. William (Margaret Norton) 3\n", - "886 Montvila, Rev. Juozas 2\n", + " Name Pclass\n", + "13 Andersson, Mr. Anders Johan 3\n", + "15 Hewlett, Mrs. (Mary D Kingcome) 2\n", + "25 Asplund, Mrs. Carl Oscar (Selma Augusta Emilia... 3\n", + "33 Wheadon, Mr. Edward H 2\n", + "40 Ahlin, Mrs. Johan (Johanna Persdotter Larsson) 3\n", + ".. ... ...\n", + "854 Carter, Mrs. Ernest Courtenay (Lilian Hughes) 2\n", + "860 Hansen, Mr. Claus Peter 3\n", + "865 Bystrom, Mrs. (Karolina) 2\n", + "873 Vander Cruyssen, Mr. Victor 3\n", + "885 Rice, Mrs. William (Margaret Norton) 3\n", "\n", - "[247 rows x 2 columns]" + "[113 rows x 2 columns]" ] }, - "execution_count": 20, + "execution_count": 26, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "# Filter rows where 'Pclass' is 2 or 3 and 'Age' is greater than 35, and select 'Name' and 'Pclass'.\n", + "# Filter rows where ('Pclass' is either 2 or 3) AND ('Age' is greater than 35),\n", + "# and then select the 'Name' and 'Pclass' columns.\n", "\n", - "titanic.loc[(titanic['Pclass'] == 2) | (titanic['Pclass'] == 3) & (titanic['Age'] > 35), ['Name', 'Pclass']]" + "titanic.loc[((titanic['Pclass'] == 2) | (titanic['Pclass'] == 3)) & (titanic['Age'] > 35), ['Name', 'Pclass']]" + ] + }, + { + "cell_type": "markdown", + "id": "da9cb04b-4246-4c5f-be72-bf8f85fa0a5b", + "metadata": {}, + "source": [ + "## Handling missing values with `.loc[]` and `.iloc[]`" ] }, { @@ -2035,9 +2061,10 @@ "id": "406599e3-1a91-4e45-b609-cf6f3e1f7cc0", "metadata": {}, "source": [ - "### Handling missing values with `.loc[]`\n", + "Both `.loc[]` and `.iloc[]` allow you to filter rows based on the presence or absence of missing values.\\\n", + "(However, `.loc[]` is generally more convenient when working with labeled data, while `.iloc[]` requires knowing the exact positions.)\n", "\n", - "The `.loc[]` method also allows you to filter rows based on the presence or absence of missing values. For example, to filter rows where the `Embarked` column is not null:" + "For example, to filter rows where the `Embarked` column is not null using `.loc[]`:" ] }, { @@ -2360,6 +2387,115 @@ "titanic.info()" ] }, + { + "cell_type": "markdown", + "id": "47535c74-e158-4a89-9bc9-a1cea1aa70df", + "metadata": {}, + "source": [ + "Comparing the two number of rows (889 and 891) tells us, that two rows are missing embarkation data.\n", + "\n", + "As we saw in the [exercise](02_pandas_tabular_data.md#exercise) on the previous page on reading and writing tabular data, the two rows missing embarkation data can be found like this:" + ] + }, + { + "cell_type": "code", + "execution_count": 28, + "id": "e4a29062-fc16-4519-bde3-ad8f802a0b14", + "metadata": { + "tags": [ + "hide-output" + ] + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
PassengerIdSurvivedPclassNameSexAgeSibSpParchTicketFareCabinEmbarked
616211Icard, Miss. Ameliefemale38.00011357280.0B28NaN
82983011Stone, Mrs. George Nelson (Martha Evelyn)female62.00011357280.0B28NaN
\n", + "
" + ], + "text/plain": [ + " PassengerId Survived Pclass Name \\\n", + "61 62 1 1 Icard, Miss. Amelie \n", + "829 830 1 1 Stone, Mrs. George Nelson (Martha Evelyn) \n", + "\n", + " Sex Age SibSp Parch Ticket Fare Cabin Embarked \n", + "61 female 38.0 0 0 113572 80.0 B28 NaN \n", + "829 female 62.0 0 0 113572 80.0 B28 NaN " + ] + }, + "execution_count": 28, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "titanic[titanic['Embarked'].isna()]" + ] + }, { "cell_type": "markdown", "id": "c50b13ad-3a6a-4162-ac04-fc0aa86da086", @@ -2385,7 +2521,7 @@ "tags": [] }, "source": [ - "### Selecting rows and columns\n", + "## Selecting rows and columns\n", "\n", "![Selecting specific rows and columns from a DataFrame](images/03_subset_columns_rows.svg)" ] @@ -2537,7 +2673,7 @@ "id": "0ee5aef8-30b9-4e07-ad18-d938822d9ad2", "metadata": {}, "source": [ - "### Combining `loc` and `iloc`" + "## Combining `loc` and `iloc`" ] }, { @@ -2645,7 +2781,7 @@ "tags": [] }, "source": [ - "### Summary\n", + "## Summary\n", "\n", "Using `.loc[]` and `.iloc[]` allows you to write clearer, more precise code for selecting and manipulating data in Pandas. Whether you are filtering rows based on complex conditions or selecting specific rows and columns simultaneously, these tools offer the flexibility and reliability you need for more advanced data manipulation tasks." ] @@ -2687,7 +2823,7 @@ " * Slicing with `.loc[]` is inclusive, while slicing with `.iloc[]` is exclusive.\n", "\n", "* **Filtering data**:\n", - " * Filter rows based on conditions using `.loc[]`, and apply additional conditions or select specific columns within the same operation." + " * Filter rows based on conditions using `.loc[]` and `.iloc[]`, and apply additional conditions or select specific columns within the same operation." ] }, { diff --git a/_to_be_deleted_later/notebooks.html b/_to_be_deleted_later/notebooks.html index 37c27559..e9a983bf 100644 --- a/_to_be_deleted_later/notebooks.html +++ b/_to_be_deleted_later/notebooks.html @@ -478,7 +478,7 @@

Code blocks and outputs
-
<contextlib.ExitStack at 0x7f8a643c42c0>
+
<contextlib.ExitStack at 0x7f00d939d040>
 
diff --git a/docs/pandas/02_Pandas_tabular_data.html b/docs/pandas/02_Pandas_tabular_data.html index d5c77f1c..9312e3b9 100644 --- a/docs/pandas/02_Pandas_tabular_data.html +++ b/docs/pandas/02_Pandas_tabular_data.html @@ -32,7 +32,7 @@ - + diff --git a/docs/pandas/03_Pandas_subsets.html b/docs/pandas/03_Pandas_subsets.html index e8c65aa4..5e87beb8 100644 --- a/docs/pandas/03_Pandas_subsets.html +++ b/docs/pandas/03_Pandas_subsets.html @@ -32,7 +32,7 @@ - + @@ -421,20 +421,18 @@

Contents

  • Creating a DataFrame from a CSV file
  • Selecting specific columns
  • Calling multiple Series
  • -
  • Introducing .loc[] and .iloc[] @@ -920,7 +918,7 @@

    Calling multiple

    Introducing .loc[] and .iloc[]#

    -

    Now that you’ve learned how to select specific columns from a DataFrame, it’s time to explore more advanced and flexible ways to access and manipulate your data. As you start filtering rows based on conditions or need to select both rows and columns simultaneously, using .loc[] and .iloc[] will give you greater control and clarity in your code.

    +

    Now that you’ve learned how to select specific columns from a DataFrame, it’s time to explore more advanced and flexible ways to access and manipulate your data. As you start filtering rows based on conditions or need to select both rows and columns simultaneously, using .loc[] and .iloc[] will give you greater control and clarity in your code.

    These powerful tools allow you to:

    • Safely and explicitly select rows and columns by labels with .loc[].

    • @@ -938,21 +936,22 @@

      Introducing .lo

      Some of the operations we’ll be covering can technically be performed without using .loc[] or .iloc[]. For instance, you might see data selections or modifications done with simple square brackets like df[df['column'] > value]. While this can work for basic tasks, it can lead to issues in more complex scenarios, such as unexpected behavior, ambiguity, or performance inefficiencies.

      Why is this a bad idea?

        -
      • Ambiguity: It’s not always clear if you’re modifying a copy of your data or the original DataFrame, which can lead to unintended side effects.

      • -
      • Potential Errors: Using square brackets for complex selections might trigger warnings like SettingWithCopyWarning, indicating that your code might not be doing what you think it is.

      • -
      • Lack of Flexibility: As your data operations become more complex, relying on square brackets can limit your ability to write clear and maintainable code.

      • +
      • Ambiguity: It’s not always clear if you’re modifying a copy of your data or the original DataFrame, which can lead to unintended side effects.

      • +
      • Potential errors: Using square brackets for complex selections might trigger warnings like SettingWithCopyWarning, indicating that your code might not be doing what you think it is.

      • +
      • Lack of flexibility: As your data operations become more complex, relying on square brackets can limit your ability to write clear and maintainable code.

      For these reasons, we recommend using .loc[] and .iloc[] as they provide a more reliable and explicit way to handle data selection and modification in Pandas.

      If you’re interested in learning more about the potential pitfalls of using square brackets and the benefits of .loc[] and .iloc[], you can read more in the Pandas documentation on indexing and selecting data.

  • +
    -

    Filtering rows based on conditional expressions#

    +

    Filtering rows based on conditional expressions#

    Filtering specific rows from a DataFrame

    -

    With .loc[] and .iloc[], you have more control and flexibility when filtering rows and selecting columns in a DataFrame.

    +

    With .loc[] and .iloc[], you have more control and flexibility when filtering rows and selecting columns in a DataFrame.

    Let’s start by exploring how you can use these tools to filter rows based on conditions.

    -

    Filtering specific rows with .loc[]#

    +

    Filtering specific rows with .loc[]#

    To filter rows based on a condition, you can place the condition inside the .loc[] selector.

    Here’s how you can filter rows where the Age column is greater than 35:

    @@ -1173,7 +1172,7 @@

    Filtering specific rows with

    -

    This command filters the rows where the condition titanic['Age'] > 35 is True, and returns the entire DataFrame for those rows.

    +

    This command filters the rows where the condition titanic['Age'] > 35 is True, and returns the entire DataFrame for those rows.

    If you only want to select specific columns (e.g., Name and Pclass) for those filtered rows, you can add the column names after the comma:

    @@ -1275,12 +1274,12 @@

    Filtering specific rows with

    When using loc/iloc

    -

    The part before the comma is the rows you want

    -

    The part after the comma is the columns you want to select

    +

    The part before the comma is the rows you want to select.

    +

    The part after the comma is the columns you want to select.

    -

    Using .iloc[] for positional indexing#

    +

    Using .iloc[] for positional indexing#

    The .iloc[] method works similarly to .loc[], but it selects rows and columns based on their integer positions rather than labels.

    For example, to select the first 5 rows and the first 2 columns, you can use:

    @@ -1353,7 +1352,7 @@

    Using .iloc[]

    -

    Inclusive vs. Exclusive Slicing#

    +

    Inclusive vs. Exclusive Slicing#

    When slicing with .loc[], the slicing is inclusive of the start and end labels. For example:

    @@ -1477,9 +1476,10 @@

    Inclusive vs. Exclusive Slicing -

    Using .loc[] for complex conditions#

    -

    You can also use .loc[] to filter rows based on more complex conditions, combining multiple criteria with logical operators. For instance, to filter rows where Pclass is either 2 or 3:

    +
    +

    Using .loc[] and .iloc[] for complex conditions#

    +

    You can use both .loc[] and .iloc[] to filter rows based on more complex conditions, combining multiple criteria with logical operators.

    +

    For instance, to filter rows where Pclass is either 2 or 3 using .loc[]:

    # Filter rows where 'Pclass' is either 2 or 3 using .loc[].
    @@ -1698,12 +1698,14 @@ 

    Using .loc[]

    -

    You can combine multiple conditions using logical operators like & (AND) and | (OR):

    +

    Similarly, if you want to perform position-based filtering using .iloc[], you would first need to identify the positions of the relevant rows and columns. However, .iloc[] is typically less useful for condition-based filtering because it requires knowledge of the exact row and column positions rather than labels.

    +

    You can also combine multiple conditions using logical operators like & (AND) and | (OR):

    -
    # Filter rows where 'Pclass' is 2 or 3 and 'Age' is greater than 35, and select 'Name' and 'Pclass'.
    +
    # Filter rows where ('Pclass' is either 2 or 3) AND ('Age' is greater than 35),
    +# and then select the 'Name' and 'Pclass' columns.
     
    -titanic.loc[(titanic['Pclass'] == 2) | (titanic['Pclass'] == 3) & (titanic['Age'] > 35), ['Name', 'Pclass']]
    +titanic.loc[((titanic['Pclass'] == 2) | (titanic['Pclass'] == 3)) & (titanic['Age'] > 35), ['Name', 'Pclass']]
     
    @@ -1736,11 +1738,6 @@

    Using .loc[] - - 9 - Nasser, Mrs. Nicholas (Adele Achem) - 2 - 13 Andersson, Mr. Anders Johan @@ -1752,55 +1749,62 @@

    Using .loc[]2 - 17 - Williams, Mr. Charles Eugene - 2 + 25 + Asplund, Mrs. Carl Oscar (Selma Augusta Emilia... + 3 - 20 - Fynney, Mr. Joseph J + 33 + Wheadon, Mr. Edward H 2 + + 40 + Ahlin, Mrs. Johan (Johanna Persdotter Larsson) + 3 + ... ... ... - 874 - Abelson, Mrs. Samuel (Hannah Wizosky) + 854 + Carter, Mrs. Ernest Courtenay (Lilian Hughes) 2 - 880 - Shelley, Mrs. William (Imanita Parrish Hall) - 2 + 860 + Hansen, Mr. Claus Peter + 3 - 883 - Banfield, Mr. Frederick James + 865 + Bystrom, Mrs. (Karolina) 2 - 885 - Rice, Mrs. William (Margaret Norton) + 873 + Vander Cruyssen, Mr. Victor 3 - 886 - Montvila, Rev. Juozas - 2 + 885 + Rice, Mrs. William (Margaret Norton) + 3 -

    247 rows × 2 columns

    +

    113 rows × 2 columns

    -
    -

    Handling missing values with .loc[]#

    -

    The .loc[] method also allows you to filter rows based on the presence or absence of missing values. For example, to filter rows where the Embarked column is not null:

    +
    +

    Handling missing values with .loc[] and .iloc[]#

    +

    Both .loc[] and .iloc[] allow you to filter rows based on the presence or absence of missing values.
    +(However, .loc[] is generally more convenient when working with labeled data, while .iloc[] requires knowing the exact positions.)

    +

    For example, to filter rows where the Embarked column is not null using .loc[]:

    # Filter rows where 'Embarked' is not null using .loc[].
    @@ -2058,10 +2062,92 @@ 

    Handling missing values with

    +

    Comparing the two number of rows (889 and 891) tells us, that two rows are missing embarkation data.

    +

    As we saw in the exercise on the previous page on reading and writing tabular data, the two rows missing embarkation data can be found like this:

    +
    +
    +
    titanic[titanic['Embarked'].isna()]
    +
    +
    +
    +
    + + +Hide code cell output + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    PassengerIdSurvivedPclassNameSexAgeSibSpParchTicketFareCabinEmbarked
    616211Icard, Miss. Ameliefemale38.00011357280.0B28NaN
    82983011Stone, Mrs. George Nelson (Martha Evelyn)female62.00011357280.0B28NaN
    +
    +
    +

    -

    Selecting rows and columns#

    +

    Selecting rows and columns#

    Selecting specific rows and columns from a DataFrame

    The true power of .loc[] becomes evident when you want to filter rows and simultaneously select specific columns. For example:

    @@ -2164,7 +2250,7 @@

    Selecting rows and columns -

    Combining loc and iloc#

    +

    Combining loc and iloc#

    We can use iloc to select:

    • Rows from index position 9 to 25 (exclusive).

    • @@ -2239,10 +2325,9 @@

      Combining loc

    -

    Summary#

    +

    Summary#

    Using .loc[] and .iloc[] allows you to write clearer, more precise code for selecting and manipulating data in Pandas. Whether you are filtering rows based on complex conditions or selecting specific rows and columns simultaneously, these tools offer the flexibility and reliability you need for more advanced data manipulation tasks.

    -

    Key points#

    @@ -2264,7 +2349,7 @@

    Key points.loc[], and apply additional conditions or select specific columns within the same operation.

    +
  • Filter rows based on conditions using .loc[] and .iloc[], and apply additional conditions or select specific columns within the same operation.

  • @@ -2339,20 +2424,18 @@

    Key pointsCreating a DataFrame from a CSV file
  • Selecting specific columns
  • Calling multiple Series
  • -
  • Introducing .loc[] and .iloc[]
  • diff --git a/docs/pandas/03_pandas_subsets.html b/docs/pandas/03_pandas_subsets.html index 78ada82d..4b62de18 100644 --- a/docs/pandas/03_pandas_subsets.html +++ b/docs/pandas/03_pandas_subsets.html @@ -423,20 +423,18 @@

    Contents

  • Creating a DataFrame from a CSV file
  • Selecting specific columns
  • Calling multiple Series
  • -
  • Introducing .loc[] and .iloc[] @@ -922,7 +920,7 @@

    Calling multiple

    Introducing .loc[] and .iloc[]#

    -

    Now that you’ve learned how to select specific columns from a DataFrame, it’s time to explore more advanced and flexible ways to access and manipulate your data. As you start filtering rows based on conditions or need to select both rows and columns simultaneously, using .loc[] and .iloc[] will give you greater control and clarity in your code.

    +

    Now that you’ve learned how to select specific columns from a DataFrame, it’s time to explore more advanced and flexible ways to access and manipulate your data. As you start filtering rows based on conditions or need to select both rows and columns simultaneously, using .loc[] and .iloc[] will give you greater control and clarity in your code.

    These powerful tools allow you to:

    • Safely and explicitly select rows and columns by labels with .loc[].

    • @@ -940,21 +938,22 @@

      Introducing .lo

      Some of the operations we’ll be covering can technically be performed without using .loc[] or .iloc[]. For instance, you might see data selections or modifications done with simple square brackets like df[df['column'] > value]. While this can work for basic tasks, it can lead to issues in more complex scenarios, such as unexpected behavior, ambiguity, or performance inefficiencies.

      Why is this a bad idea?

        -
      • Ambiguity: It’s not always clear if you’re modifying a copy of your data or the original DataFrame, which can lead to unintended side effects.

      • -
      • Potential Errors: Using square brackets for complex selections might trigger warnings like SettingWithCopyWarning, indicating that your code might not be doing what you think it is.

      • -
      • Lack of Flexibility: As your data operations become more complex, relying on square brackets can limit your ability to write clear and maintainable code.

      • +
      • Ambiguity: It’s not always clear if you’re modifying a copy of your data or the original DataFrame, which can lead to unintended side effects.

      • +
      • Potential errors: Using square brackets for complex selections might trigger warnings like SettingWithCopyWarning, indicating that your code might not be doing what you think it is.

      • +
      • Lack of flexibility: As your data operations become more complex, relying on square brackets can limit your ability to write clear and maintainable code.

      For these reasons, we recommend using .loc[] and .iloc[] as they provide a more reliable and explicit way to handle data selection and modification in Pandas.

      If you’re interested in learning more about the potential pitfalls of using square brackets and the benefits of .loc[] and .iloc[], you can read more in the Pandas documentation on indexing and selecting data.

  • +

    -

    Filtering rows based on conditional expressions#

    +

    Filtering rows based on conditional expressions#

    Filtering specific rows from a DataFrame

    -

    With .loc[] and .iloc[], you have more control and flexibility when filtering rows and selecting columns in a DataFrame.

    +

    With .loc[] and .iloc[], you have more control and flexibility when filtering rows and selecting columns in a DataFrame.

    Let’s start by exploring how you can use these tools to filter rows based on conditions.

    -

    Filtering specific rows with .loc[]#

    +

    Filtering specific rows with .loc[]#

    To filter rows based on a condition, you can place the condition inside the .loc[] selector.

    Here’s how you can filter rows where the Age column is greater than 35:

    @@ -1175,7 +1174,7 @@

    Filtering specific rows with

    -

    This command filters the rows where the condition titanic['Age'] > 35 is True, and returns the entire DataFrame for those rows.

    +

    This command filters the rows where the condition titanic['Age'] > 35 is True, and returns the entire DataFrame for those rows.

    If you only want to select specific columns (e.g., Name and Pclass) for those filtered rows, you can add the column names after the comma:

    @@ -1277,12 +1276,12 @@

    Filtering specific rows with

    When using loc/iloc

    -

    The part before the comma is the rows you want

    -

    The part after the comma is the columns you want to select

    +

    The part before the comma is the rows you want to select.

    +

    The part after the comma is the columns you want to select.

    -

    Using .iloc[] for positional indexing#

    +

    Using .iloc[] for positional indexing#

    The .iloc[] method works similarly to .loc[], but it selects rows and columns based on their integer positions rather than labels.

    For example, to select the first 5 rows and the first 2 columns, you can use:

    @@ -1355,7 +1354,7 @@

    Using .iloc[]

    -

    Inclusive vs. Exclusive Slicing#

    +

    Inclusive vs. Exclusive Slicing#

    When slicing with .loc[], the slicing is inclusive of the start and end labels. For example:

    @@ -1479,9 +1478,10 @@

    Inclusive vs. Exclusive Slicing -

    Using .loc[] for complex conditions#

    -

    You can also use .loc[] to filter rows based on more complex conditions, combining multiple criteria with logical operators. For instance, to filter rows where Pclass is either 2 or 3:

    +
    +

    Using .loc[] and .iloc[] for complex conditions#

    +

    You can use both .loc[] and .iloc[] to filter rows based on more complex conditions, combining multiple criteria with logical operators.

    +

    For instance, to filter rows where Pclass is either 2 or 3 using .loc[]:

    # Filter rows where 'Pclass' is either 2 or 3 using .loc[].
    @@ -1700,12 +1700,14 @@ 

    Using .loc[]

    -

    You can combine multiple conditions using logical operators like & (AND) and | (OR):

    +

    Similarly, if you want to perform position-based filtering using .iloc[], you would first need to identify the positions of the relevant rows and columns. However, .iloc[] is typically less useful for condition-based filtering because it requires knowledge of the exact row and column positions rather than labels.

    +

    You can also combine multiple conditions using logical operators like & (AND) and | (OR):

    -
    # Filter rows where 'Pclass' is 2 or 3 and 'Age' is greater than 35, and select 'Name' and 'Pclass'.
    +
    # Filter rows where ('Pclass' is either 2 or 3) AND ('Age' is greater than 35),
    +# and then select the 'Name' and 'Pclass' columns.
     
    -titanic.loc[(titanic['Pclass'] == 2) | (titanic['Pclass'] == 3) & (titanic['Age'] > 35), ['Name', 'Pclass']]
    +titanic.loc[((titanic['Pclass'] == 2) | (titanic['Pclass'] == 3)) & (titanic['Age'] > 35), ['Name', 'Pclass']]
     
    @@ -1738,11 +1740,6 @@

    Using .loc[] - - 9 - Nasser, Mrs. Nicholas (Adele Achem) - 2 - 13 Andersson, Mr. Anders Johan @@ -1754,55 +1751,62 @@

    Using .loc[]2 - 17 - Williams, Mr. Charles Eugene - 2 + 25 + Asplund, Mrs. Carl Oscar (Selma Augusta Emilia... + 3 - 20 - Fynney, Mr. Joseph J + 33 + Wheadon, Mr. Edward H 2 + + 40 + Ahlin, Mrs. Johan (Johanna Persdotter Larsson) + 3 + ... ... ... - 874 - Abelson, Mrs. Samuel (Hannah Wizosky) + 854 + Carter, Mrs. Ernest Courtenay (Lilian Hughes) 2 - 880 - Shelley, Mrs. William (Imanita Parrish Hall) - 2 + 860 + Hansen, Mr. Claus Peter + 3 - 883 - Banfield, Mr. Frederick James + 865 + Bystrom, Mrs. (Karolina) 2 - 885 - Rice, Mrs. William (Margaret Norton) + 873 + Vander Cruyssen, Mr. Victor 3 - 886 - Montvila, Rev. Juozas - 2 + 885 + Rice, Mrs. William (Margaret Norton) + 3 -

    247 rows × 2 columns

    +

    113 rows × 2 columns

    -
    -

    Handling missing values with .loc[]#

    -

    The .loc[] method also allows you to filter rows based on the presence or absence of missing values. For example, to filter rows where the Embarked column is not null:

    +
    +

    Handling missing values with .loc[] and .iloc[]#

    +

    Both .loc[] and .iloc[] allow you to filter rows based on the presence or absence of missing values.
    +(However, .loc[] is generally more convenient when working with labeled data, while .iloc[] requires knowing the exact positions.)

    +

    For example, to filter rows where the Embarked column is not null using .loc[]:

    # Filter rows where 'Embarked' is not null using .loc[].
    @@ -2060,10 +2064,92 @@ 

    Handling missing values with

    +

    Comparing the two number of rows (889 and 891) tells us, that two rows are missing embarkation data.

    +

    As we saw in the exercise on the previous page on reading and writing tabular data, the two rows missing embarkation data can be found like this:

    +
    +
    +
    titanic[titanic['Embarked'].isna()]
    +
    +
    +
    +
    + + +Hide code cell output + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    PassengerIdSurvivedPclassNameSexAgeSibSpParchTicketFareCabinEmbarked
    616211Icard, Miss. Ameliefemale38.00011357280.0B28NaN
    82983011Stone, Mrs. George Nelson (Martha Evelyn)female62.00011357280.0B28NaN
    +
    +
    +

    -

    Selecting rows and columns#

    +

    Selecting rows and columns#

    Selecting specific rows and columns from a DataFrame

    The true power of .loc[] becomes evident when you want to filter rows and simultaneously select specific columns. For example:

    @@ -2166,7 +2252,7 @@

    Selecting rows and columns -

    Combining loc and iloc#

    +

    Combining loc and iloc#

    We can use iloc to select:

    • Rows from index position 9 to 25 (exclusive).

    • @@ -2241,10 +2327,9 @@

      Combining loc

    -

    Summary#

    +

    Summary#

    Using .loc[] and .iloc[] allows you to write clearer, more precise code for selecting and manipulating data in Pandas. Whether you are filtering rows based on complex conditions or selecting specific rows and columns simultaneously, these tools offer the flexibility and reliability you need for more advanced data manipulation tasks.

    -

    Key points#

    @@ -2266,7 +2351,7 @@

    Key points.loc[], and apply additional conditions or select specific columns within the same operation.

    +
  • Filter rows based on conditions using .loc[] and .iloc[], and apply additional conditions or select specific columns within the same operation.

  • @@ -2341,20 +2426,18 @@

    Key pointsCreating a DataFrame from a CSV file
  • Selecting specific columns
  • Calling multiple Series
  • -
  • Introducing .loc[] and .iloc[]
  • diff --git a/docs/pandas/04-Variables.html b/docs/pandas/04-Variables.html index afc145cb..26dd756d 100644 --- a/docs/pandas/04-Variables.html +++ b/docs/pandas/04-Variables.html @@ -564,9 +564,9 @@

    Assigning Variables
    <>:10: SyntaxWarning: invalid escape sequence '\W'
     <>:10: SyntaxWarning: invalid escape sequence '\W'
    -/tmp/ipykernel_2407/1664984018.py:10: SyntaxWarning: invalid escape sequence '\W'
    +/tmp/ipykernel_2510/1664984018.py:10: SyntaxWarning: invalid escape sequence '\W'
       split_words = re.split("\W+", lowercase_text)
    -/tmp/ipykernel_2407/1664984018.py:10: SyntaxWarning: invalid escape sequence '\W'
    +/tmp/ipykernel_2510/1664984018.py:10: SyntaxWarning: invalid escape sequence '\W'
       split_words = re.split("\W+", lowercase_text)
     
    @@ -979,9 +979,9 @@

    Striving for Good Variable Names
    <>:3: SyntaxWarning: invalid escape sequence '\W'
     <>:3: SyntaxWarning: invalid escape sequence '\W'
    -/tmp/ipykernel_2407/3249180260.py:3: SyntaxWarning: invalid escape sequence '\W'
    +/tmp/ipykernel_2510/3249180260.py:3: SyntaxWarning: invalid escape sequence '\W'
       sw = re.split("\W+", lt)
    -/tmp/ipykernel_2407/3249180260.py:3: SyntaxWarning: invalid escape sequence '\W'
    +/tmp/ipykernel_2510/3249180260.py:3: SyntaxWarning: invalid escape sequence '\W'
       sw = re.split("\W+", lt)
     
    @@ -1031,9 +1031,9 @@

    Striving for Good Variable Names
    <>:3: SyntaxWarning: invalid escape sequence '\W'
     <>:3: SyntaxWarning: invalid escape sequence '\W'
    -/tmp/ipykernel_2407/1868761352.py:3: SyntaxWarning: invalid escape sequence '\W'
    +/tmp/ipykernel_2510/1868761352.py:3: SyntaxWarning: invalid escape sequence '\W'
       split_words = re.split("\W+", lowercase_text)
    -/tmp/ipykernel_2407/1868761352.py:3: SyntaxWarning: invalid escape sequence '\W'
    +/tmp/ipykernel_2510/1868761352.py:3: SyntaxWarning: invalid escape sequence '\W'
       split_words = re.split("\W+", lowercase_text)
     
    @@ -1145,9 +1145,9 @@

    Re-Assigning Variables
    <>:6: SyntaxWarning: invalid escape sequence '\W'
     <>:6: SyntaxWarning: invalid escape sequence '\W'
    -/tmp/ipykernel_2407/3981446915.py:6: SyntaxWarning: invalid escape sequence '\W'
    +/tmp/ipykernel_2510/3981446915.py:6: SyntaxWarning: invalid escape sequence '\W'
       split_words = re.split("\W+", lowercase_text)
    -/tmp/ipykernel_2407/3981446915.py:6: SyntaxWarning: invalid escape sequence '\W'
    +/tmp/ipykernel_2510/3981446915.py:6: SyntaxWarning: invalid escape sequence '\W'
       split_words = re.split("\W+", lowercase_text)
     
    @@ -1262,7 +1262,7 @@

    Your Turn
    <>:6: SyntaxWarning: invalid escape sequence '\W'
     <>:6: SyntaxWarning: invalid escape sequence '\W'
    -/tmp/ipykernel_2407/387211622.py:6: SyntaxWarning: invalid escape sequence '\W'
    +/tmp/ipykernel_2510/387211622.py:6: SyntaxWarning: invalid escape sequence '\W'
       split_words = re.split("\W+", lowercase_text)
     
    diff --git a/docs/pandas/04_Pandas_loc_iloc.html b/docs/pandas/04_Pandas_loc_iloc.html index 6010bc3d..66e56f62 100644 --- a/docs/pandas/04_Pandas_loc_iloc.html +++ b/docs/pandas/04_Pandas_loc_iloc.html @@ -32,7 +32,7 @@ - + diff --git a/searchindex.js b/searchindex.js index a46f2f8e..eb3d730f 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"2024 Open Data Science": [[14, null]], " Download Jupyter Notebook": [[21, "download-jupyter-notebook"]], " Download PDF": [[21, "download-pdf"]], " Open Jupyter Notebook in the Cloud": [[21, "open-jupyter-notebook-in-the-cloud"]], " Exercise 4: The number guessing game": [[11, "exercise-4-the-number-guessing-game"]], " Exercise": [[29, "exercise"], [30, "exercise"]], " Exercise 1: Choosing a name": [[6, "exercise-1-choosing-a-name"]], " Exercise 1: Classifying errors": [[10, "exercise-1-classifying-errors"]], " Exercise 1: Fill in the blanks": [[9, "exercise-1-fill-in-the-blanks"]], " Exercise 1: Spot the difference": [[8, "exercise-1-spot-the-difference"]], " Exercise 1: What does this program print?": [[11, "exercise-1-what-does-this-program-print"]], " Exercise 1: What kind of data type?": [[7, "exercise-1-what-kind-of-data-type"]], " Exercise 2: Automatic type conversion": [[7, "exercise-2-automatic-type-conversion"]], " Exercise 2: Fill in the blanks": [[11, "exercise-2-fill-in-the-blanks"]], " Exercise 2: How large is a slice?": [[9, "exercise-2-how-large-is-a-slice"]], " Exercise 2: Swapping values": [[6, "exercise-2-swapping-values"]], " Exercise 2: Tracing execution": [[10, "exercise-2-tracing-execution"]], " Exercise 2: What happens when?": [[8, "exercise-2-what-happens-when"]], " Exercise 3: Choose a type": [[7, "exercise-3-choose-a-type"]], " Exercise 3: Predicting values": [[6, "exercise-3-predicting-values"]], " Exercise 3: Reversing a string": [[10, "exercise-3-reversing-a-string"]], " Exercise 3: Using the input() function": [[11, "exercise-3-using-the-input-function"]], " Exercise 3: Why not?": [[8, "exercise-3-why-not"]], " Exercise 3: Working with the end": [[9, "exercise-3-working-with-the-end"]], " Exercise 4: Can you slice integers?": [[6, "exercise-4-can-you-slice-integers"]], " Exercise 4: Fill in the blanks": [[10, "exercise-4-fill-in-the-blanks"]], " Exercise 4: Last character of a string": [[8, "exercise-4-last-character-of-a-string"]], " Exercise 4: Stepping through a list": [[9, "exercise-4-stepping-through-a-list"]], " Exercise 4: Strings to numbers": [[7, "exercise-4-strings-to-numbers"]], " Exercise 5: Adding floats and strings": [[7, "exercise-5-adding-floats-and-strings"]], " Exercise 5: Cumulative sum": [[10, "exercise-5-cumulative-sum"]], " Exercise 5: Slicing": [[6, "exercise-5-slicing"], [9, "exercise-5-slicing"]], " Exercise 6: Identifying variable name errors": [[10, "exercise-6-identifying-variable-name-errors"]], " Exercise 6: Number of students": [[7, "exercise-6-number-of-students"]], " Exercise 7: Copying (or not)": [[9, "exercise-7-copying-or-not"]], " Exercise 7: Identifying item errors": [[10, "exercise-7-identifying-item-errors"]], " Exercise 8: From strings to lists and back": [[9, "exercise-8-from-strings-to-lists-and-back"]], "Exercises 6: Sort and sorted": [[9, "exercises-6-sort-and-sorted"]], " Common tips for both macOS and Windows users": [[23, "common-tips-for-both-macos-and-windows-users"]], " JupyterLab - both Mac and Windows": [[25, "jupyterlab-both-mac-and-windows"]], " For macOS users": [[23, "for-macos-users"]], " Method 1: Mac": [[25, "method-1-mac"]], " Attribution": [[1, "attribution"], [27, "attribution"]], " Open Issue on GitHub": [[21, "open-issue-on-github"]], " Open issue on GitHub": [[20, "open-issue-on-github"]], " For Windows users": [[23, "for-windows-users"]], " Method 1: Windows": [[25, "method-1-windows"]], " Expand workspace": [[20, "expand-workspace"]], " Download Jupyter Notebook": [[20, "download-jupyter-notebook"]], " Download PDF": [[20, "download-pdf"]], " Make Full Screen": [[21, "make-full-screen"]], " Make full screen": [[20, "make-full-screen"]], " Click to show output/code": [[20, "click-to-show-output-code"]], "A note on head() and tail()": [[30, null]], "A note on square bracket indexing []": [[36, null]], "A note on the input() function": [[11, null]], "Admonition Boxes": [[0, null]], "Aggregating statistics": [[34, "aggregating-statistics"]], "Aggregating statistics grouped by category": [[34, "aggregating-statistics-grouped-by-category"]], "Alt herunder er tests fra ting fundet andetsteds": [[0, "alt-herunder-er-tests-fra-ting-fundet-andetsteds"]], "An example cell": [[3, "an-example-cell"]], "Appending": [[17, "appending"]], "Appending Series": [[29, "appending-series"]], "Appending to lists": [[9, "appending-to-lists"]], "Are you in doubt about which course to sign up for?": [[26, "are-you-in-doubt-about-which-course-to-sign-up-for"]], "Argument": [[17, "argument"]], "Arithmetic": [[17, "arithmetic"]], "Assigning Variables": [[32, "assigning-variables"]], "Assignment": [[17, "assignment"]], "Attributes": [[18, "attributes"], [29, "attributes"]], "Auto-close brackets": [[24, "auto-close-brackets"]], "Avoid ambiguous operations": [[31, null]], "Before you attend a course": [[26, "before-you-attend-a-course"]], "Boolean": [[17, "boolean"]], "Booleans": [[5, "booleans"]], "Built-in Functions and Help": [[8, null]], "Built-in data types": [[5, "built-in-data-types"]], "Built-in functions": [[8, "built-in-functions"]], "CSV": [[18, "csv"]], "Calling multiple Series": [[31, "calling-multiple-series"], [36, "calling-multiple-series"]], "Categorical data": [[34, null]], "Character strings are immutable": [[9, "character-strings-are-immutable"]], "Check your version of Python": [[25, "check-your-version-of-python"]], "Citations": [[2, "citations"]], "Click to Show Output/Code": [[21, "click-to-show-output-code"]], "Code blocks and outputs": [[4, "code-blocks-and-outputs"]], "Code in JupyterLab": [[24, null]], "Combining loc and iloc": [[31, "combining-loc-and-iloc"], [33, "combining-loc-and-iloc"]], "Command mode vs. edit mode": [[24, "command-mode-vs-edit-mode"]], "Comment": [[17, "comment"]], "Comments and documentation": [[8, "comments-and-documentation"]], "Common Classes for Admonitions in Jupyter Book": [[0, "common-classes-for-admonitions-in-jupyter-book"]], "Comparisons": [[5, "comparisons"]], "Compound statements": [[11, "compound-statements"]], "Concatenation": [[5, "concatenation"], [17, "concatenation"]], "Conditionals": [[11, null], [17, "conditionals"]], "Conditionals are often used inside loops": [[11, "conditionals-are-often-used-inside-loops"]], "Conditions are tested once, in order": [[11, "conditions-are-tested-once-in-order"]], "Content": [[12, "content"], [13, "content"], [16, "content"], [22, "content"], [35, "content"]], "Content with notebooks": [[4, null]], "Count number of records by category": [[34, "count-number-of-records-by-category"]], "Create a notebook with MyST Markdown": [[3, "create-a-notebook-with-myst-markdown"]], "Creating a DataFrame from a CSV file": [[30, "creating-a-dataframe-from-a-csv-file"], [31, "creating-a-dataframe-from-a-csv-file"], [33, "creating-a-dataframe-from-a-csv-file"], [34, "creating-a-dataframe-from-a-csv-file"], [36, "creating-a-dataframe-from-a-csv-file"]], "Creating a new column based on existing data": [[29, "creating-a-new-column-based-on-existing-data"]], "Creating and deleting cells": [[24, "creating-and-deleting-cells"]], "Creating our first DataFrame": [[29, "creating-our-first-dataframe"]], "Creating our own Series": [[29, "creating-our-own-series"]], "Curly brackets": [[15, "curly-brackets"]], "Current working directory": [[30, "current-working-directory"]], "Data Type": [[17, "data-type"]], "Data Types": [[5, null]], "Data Types and Type Conversion": [[7, null]], "Data types control operations": [[7, "data-types-control-operations"]], "DataFrame": [[18, "dataframe"]], "DataFrames and dictionaries": [[29, "dataframes-and-dictionaries"]], "Dealing with different data types": [[7, "dealing-with-different-data-types"]], "Deleting list items": [[9, "deleting-list-items"]], "Descriptive statistics": [[34, null]], "Dictionary for Absolute Beginners": [[17, null]], "Dictionary for Pandas": [[18, null]], "Did you not click add to PATH?": [[25, null]], "Documentation": [[17, "documentation"]], "Download the Titanic data": [[30, "download-the-titanic-data"]], "Empty lists": [[9, "empty-lists"]], "Error messages": [[8, "error-messages"]], "Every function returns something": [[8, "every-function-returns-something"]], "Example of an Admonition in Jupyter Book": [[0, "example-of-an-admonition-in-jupyter-book"]], "Example: Analysing social media impact": [[11, "example-analysing-social-media-impact"]], "Exercises": [[6, "exercises"], [7, "exercises"], [8, "exercises"], [9, "exercises"], [10, "exercises"], [11, "exercises"]], "Exponents": [[5, "exponents"]], "Filtering on column value": [[30, "filtering-on-column-value"]], "Filtering rows based on conditional expressions": [[31, "filtering-rows-based-on-conditional-expressions"], [36, "filtering-rows-based-on-conditional-expressions"]], "Filtering specific rows with .loc[]": [[31, "filtering-specific-rows-with-loc"]], "Find the length of a string": [[6, "find-the-length-of-a-string"]], "Float": [[17, "float"]], "For Loops": [[10, null]], "For loop structure": [[10, "for-loop-structure"]], "For loop syntax": [[10, "for-loop-syntax"]], "Function": [[17, "function"]], "Functions have default values for some arguments": [[8, "functions-have-default-values-for-some-arguments"]], "Functions only work for certain arguments": [[8, "functions-only-work-for-certain-arguments"]], "GeeksforGeeks": [[19, "geeksforgeeks"]], "Get Help and Find Documentation": [[19, null]], "Get Started with JupyterLab": [[22, null]], "Getting Started with Data Analysis": [[35, null]], "Getting Started with Pandas": [[28, null]], "Getting information on the DataFrame": [[30, "getting-information-on-the-dataframe"]], "Groupby operations": [[34, null]], "Handling missing values with .loc[]": [[31, "handling-missing-values-with-loc"]], "Her f\u00f8lger f\u00f8rst markdown-kode til admonition boxes, derefter den renderede version": [[0, "her-folger-forst-markdown-kode-til-admonition-boxes-derefter-den-renderede-version"]], "How can you have quotation marks inside a string?": [[5, null]], "How for loops work": [[10, "how-for-loops-work"]], "How to Check Your Python Version on Windows": [[25, "how-to-check-your-python-version-on-windows"]], "How to Check Your Python Version on a Mac": [[25, "how-to-check-your-python-version-on-a-mac"]], "How to Install Python on Windows": [[25, "how-to-install-python-on-windows"]], "How to Install Python on macOS": [[25, "how-to-install-python-on-macos"]], "How to Interact With This Book": [[21, null]], "How to open Windows PowerShell": [[25, null]], "How to open the Terminal": [[25, null]], "IDE (Integrated Development Environment)": [[17, "ide-integrated-development-environment"]], "Immutable": [[17, "immutable"]], "Import Pandas": [[29, "import-pandas"], [30, "import-pandas"], [31, "import-pandas"], [33, "import-pandas"], [34, "import-pandas"], [36, "import-pandas"]], "Importing Pandas": [[28, "importing-pandas"]], "Inclusive vs. Exclusive Slicing": [[31, "inclusive-vs-exclusive-slicing"]], "Indentation": [[17, "indentation"]], "Index": [[5, "index"], [17, "index"], [18, "index"]], "Indexing": [[6, "indexing"]], "Indexing beyond the end": [[9, "indexing-beyond-the-end"]], "Indexing lists": [[9, "indexing-lists"]], "Indexing, slicing, and length": [[6, "indexing-slicing-and-length"]], "Infinite loops": [[11, "infinite-loops"]], "Install & Run Python": [[25, null]], "Install Python on Mac": [[25, "install-python-on-mac"]], "Install Python on Windows": [[25, "install-python-on-windows"]], "Installing (or upgrading) Pandas from PyPI": [[28, "installing-or-upgrading-pandas-from-pypi"]], "Integer": [[17, "integer"]], "Integers & floats": [[5, "integers-floats"]], "Integers and floats can be mixed freely in operations": [[7, "integers-and-floats-can-be-mixed-freely-in-operations"]], "Interact With This Book": [[20, null]], "Introducing .loc[] and .iloc[]": [[31, "introducing-loc-and-iloc"]], "Jupyter Display vs Print()": [[32, "jupyter-display-vs-print"]], "Key points": [[5, "key-points"], [6, "key-points"], [7, "key-points"], [8, "key-points"], [9, "key-points"], [10, "key-points"], [11, "key-points"], [29, "key-points"], [30, "key-points"], [31, "key-points"], [34, "key-points"], [36, "key-points"]], "Keyboard shortcut for restarting kernel": [[24, "keyboard-shortcut-for-restarting-kernel"]], "Learn All the New Words": [[16, null]], "Learn more": [[2, "learn-more"]], "Learning Objectives": [[5, null], [6, null], [7, null], [8, null], [9, null], [10, null], [11, null]], "Library": [[17, "library"]], "Lists": [[9, null]], "Lists are mutable": [[9, "lists-are-mutable"]], "Lists may contain items of different data types": [[9, "lists-may-contain-items-of-different-data-types"]], "Looking for the simplest way to get started?": [[25, null]], "Loop": [[17, "loop"]], "Managing kernels": [[24, "managing-kernels"]], "Markdown + notebooks": [[4, "markdown-notebooks"]], "Markdown Files": [[2, null]], "Mathematical operations": [[5, "mathematical-operations"]], "Memory usage": [[30, null]], "Metacharacters": [[15, "metacharacters"]], "Method 1: Installing Python and JupyterLab": [[25, "method-1-installing-python-and-jupyterlab"]], "Method 2: Google Colab": [[25, "method-2-google-colab"]], "Method 3: ERDA": [[25, "method-3-erda"]], "ModuleNotFoundError": [[28, null]], "Modulus": [[5, "modulus"]], "More information about loc and iloc": [[33, "more-information-about-loc-and-iloc"]], "More metacharacters, as well as pipes, lists and question marks": [[15, "more-metacharacters-as-well-as-pipes-lists-and-question-marks"]], "Moving cells": [[24, "moving-cells"]], "Multiple statements in a for loop": [[10, "multiple-statements-in-a-for-loop"]], "Multiplication": [[5, "multiplication"]], "Mutable": [[17, "mutable"]], "My title": [[0, null], [0, null], [0, null]], "MyST markdown": [[4, "myst-markdown"]], "NaN": [[18, "nan"]], "Naming Conventions": [[6, null]], "Naming loop variables": [[10, "naming-loop-variables"]], "Notebooks with MyST Markdown": [[3, null]], "Notice": [[11, null]], "Notice the difference between overwriting and changing values": [[9, null]], "Off-Limits Names": [[32, "off-limits-names"]], "Off-limits names": [[6, "off-limits-names"]], "Official Pandas documentation": [[19, "official-pandas-documentation"]], "Official Python Documentation": [[19, "official-python-documentation"]], "Open and Navigate JupyterLab": [[23, null]], "Operator": [[17, "operator"]], "Pandas DataFrame": [[29, null]], "Pandas data table representation": [[29, "pandas-data-table-representation"]], "Part 1": [[12, null]], "Part 2": [[13, null]], "Python is case-sensitive": [[6, "python-is-case-sensitive"]], "Quickly add YAML metadata for MyST Notebooks": [[3, "quickly-add-yaml-metadata-for-myst-notebooks"]], "Re-Assigning Variables": [[32, "re-assigning-variables"]], "Read and Write Tabular Data": [[30, null]], "Read files": [[15, "read-files"]], "Reading and writing Excel files": [[30, "reading-and-writing-excel-files"]], "Recap on Data Types": [[7, null]], "Recap on division types": [[7, null]], "RegEx and Frankenstein": [[15, null]], "Renaming columns": [[29, "renaming-columns"]], "Replacing list items": [[9, "replacing-list-items"]], "Restart kernel options": [[24, "restart-kernel-options"]], "Running code cells": [[24, "running-code-cells"]], "Runtime errors": [[8, "runtime-errors"]], "Sample Roles and Directives": [[2, "sample-roles-and-directives"]], "Selecting rows and columns using loc and iloc": [[33, "selecting-rows-and-columns-using-loc-and-iloc"]], "Selecting rows and columns": [[31, "selecting-rows-and-columns"], [36, "selecting-rows-and-columns"]], "Selecting specific columns": [[31, "selecting-specific-columns"], [36, "selecting-specific-columns"]], "Series": [[18, "series"], [29, "series"]], "Sign Up for a Course": [[26, null]], "Single equals sign = and a double equals sign ==": [[5, null]], "Slice": [[5, "slice"], [17, "slice"]], "Slicing lists": [[9, "slicing-lists"]], "Solution": [[6, null], [6, null], [6, null], [6, null], [7, null], [7, null], [7, null], [7, null], [7, null], [7, null], [8, null], [8, null], [8, null], [9, null], [9, null], [9, null], [9, null], [9, null], [9, null], [9, null], [9, null], [10, null], [10, null], [10, null], [10, null], [10, null], [10, null], [10, null], [10, null], [10, null], [10, null], [11, null], [11, null], [11, null], [29, null], [30, null]], "Square brackets [A-Z]": [[15, "square-brackets-a-z"]], "Statement": [[17, "statement"]], "Step 1: Download the Official Installer": [[25, "step-1-download-the-official-installer"]], "Step 1: Open JupyterLab": [[23, "step-1-open-jupyterlab"], [23, "id1"]], "Step 2: Navigate the File/Directory System": [[23, "step-2-navigate-the-file-directory-system"], [23, "id2"]], "Step 2: Run the Installer": [[25, "step-2-run-the-installer"]], "String": [[17, "string"]], "String methods": [[5, "string-methods"]], "Strings": [[5, "strings"]], "Strings have a length (but numbers do not)": [[7, "strings-have-a-length-but-numbers-do-not"]], "Striving for Good Variable Names": [[32, "striving-for-good-variable-names"]], "Subset": [[18, "subset"]], "Subsets": [[31, null], [36, null]], "Summary": [[31, "summary"]], "Summary Statistics": [[34, null]], "Syntax": [[17, "syntax"]], "Syntax errors": [[8, "syntax-errors"]], "Table of Boolean Operations": [[5, null]], "Table of Comparison Operations": [[5, null]], "Table of List Methods": [[9, null]], "Table of Mathematical Operations": [[5, null]], "The help() function": [[8, "the-help-function"]], "The type() function": [[5, "the-type-function"]], "The while syntax": [[11, "the-while-syntax"]], "This is a title": [[0, null], [0, null]], "To choose from a wider list of files\u2026": [[32, null]], "Todo": [[0, "id1"]], "Transpose": [[18, "transpose"]], "Transposing a DataFrame": [[29, "transposing-a-dataframe"]], "Use a slice to get a substring": [[6, "use-a-slice-to-get-a-substring"]], "Use else to execute a block of code when an if condition is not true": [[11, "use-else-to-execute-a-block-of-code-when-an-if-condition-is-not-true"]], "Use meaningful variable names": [[6, "use-meaningful-variable-names"]], "Use print() to display values": [[6, "use-print-to-display-values"]], "Use variables to store values": [[6, "use-variables-to-store-values"]], "Using .iloc[] for positional indexing": [[31, "using-iloc-for-positional-indexing"]], "Using .loc[] for complex conditions": [[31, "using-loc-for-complex-conditions"]], "Using accumulator variables": [[10, "using-accumulator-variables"]], "Using range with the for loop": [[10, "using-range-with-the-for-loop"]], "Using the + and * operators on strings": [[7, "using-the-and-operators-on-strings"]], "Variable": [[17, "variable"]], "Variable Names": [[32, "variable-names"]], "Variable names": [[6, "variable-names"]], "Variables": [[32, null]], "Variables Persist Between Cells": [[6, null]], "Variables and Assignment": [[6, null]], "Variables in calculations": [[6, "variables-in-calculations"]], "Variables must be created before they are used": [[6, "variables-must-be-created-before-they-are-used"]], "Variables only change value when something is assigned to them": [[7, "variables-only-change-value-when-something-is-assigned-to-them"]], "W3Schools": [[19, "w3schools"]], "Was pip not installed correctly?": [[25, null]], "Welcome": [[1, null], [27, null]], "What are lists?": [[9, "what-are-lists"]], "What exactly are loc and iloc?": [[31, null]], "What is MyST?": [[2, "what-is-myst"]], "What is the problem with the script above?": [[11, null]], "When to use loc or iloc": [[33, null]], "When using loc/iloc": [[31, null], [33, null]], "While loops": [[11, "while-loops"]], "Why pandas as pd?": [[29, null]], "Would you rather use another method?": [[25, null]], "Your Turn": [[32, "your-turn"]], "dtypes": [[30, "dtypes"]], "elif specify additional tests": [[11, "elif-specify-additional-tests"]], "head()": [[30, "head"]], "if statements control whether or not a block of code is executed": [[11, "if-statements-control-whether-or-not-a-block-of-code-is-executed"]], "info()": [[30, "info"]], "loc and iloc": [[33, null]], "max(), min(), and round()": [[8, "max-min-and-round"]], "notna() and isna()": [[30, "notna-and-isna"]], "pd": [[18, "pd"]], "shape": [[30, "shape"]], "tail()": [[30, "tail"]], "w+ along with \\b": [[15, "w-along-with-b"]]}, "docnames": ["_to_be_deleted_later/admonition_boxes", "_to_be_deleted_later/intro_old", "_to_be_deleted_later/markdown", "_to_be_deleted_later/markdown-notebooks", "_to_be_deleted_later/notebooks", "docs/101/01_data_types", "docs/101/02_variables_and_assignment", "docs/101/03_type_conversion", "docs/101/04_built-in_functions", "docs/101/05_lists", "docs/101/06_for_loops", "docs/101/07_conditionals", "docs/101/part1", "docs/101/part2", "docs/_test/2024_ods", "docs/_test/regex_and_frankenstein", "docs/howto/dictionaries", "docs/howto/dictionary_101", "docs/howto/dictionary_pandas", "docs/howto/help_and_documentation", "docs/howto/interact", "docs/howto/interact_original", "docs/howto/jupyterlab", "docs/howto/jupyterlab_1", "docs/howto/jupyterlab_2", "docs/howto/setup", "docs/howto/sign_up", "docs/intro", "docs/pandas/00_pandas_start", "docs/pandas/01_pandas_dataframe", "docs/pandas/02_pandas_tabular_data", "docs/pandas/03_pandas_subsets", "docs/pandas/04-Variables", "docs/pandas/04_pandas_loc_iloc", "docs/pandas/05_pandas_summary_statistics", "docs/pandas/getting_started", "docs/pandas/original_03_pandas_subsets"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.todo": 2, "sphinxcontrib.bibtex": 9}, "filenames": ["_to_be_deleted_later/admonition_boxes.ipynb", "_to_be_deleted_later/intro_old.md", "_to_be_deleted_later/markdown.md", "_to_be_deleted_later/markdown-notebooks.md", "_to_be_deleted_later/notebooks.ipynb", "docs/101/01_data_types.ipynb", "docs/101/02_variables_and_assignment.ipynb", "docs/101/03_type_conversion.ipynb", "docs/101/04_built-in_functions.ipynb", "docs/101/05_lists.ipynb", "docs/101/06_for_loops.ipynb", "docs/101/07_conditionals.ipynb", "docs/101/part1.ipynb", "docs/101/part2.ipynb", "docs/_test/2024_ods.ipynb", "docs/_test/regex_and_frankenstein.ipynb", "docs/howto/dictionaries.ipynb", "docs/howto/dictionary_101.ipynb", "docs/howto/dictionary_pandas.ipynb", "docs/howto/help_and_documentation.ipynb", "docs/howto/interact.ipynb", "docs/howto/interact_original.ipynb", "docs/howto/jupyterlab.ipynb", "docs/howto/jupyterlab_1.ipynb", "docs/howto/jupyterlab_2.ipynb", "docs/howto/setup.ipynb", "docs/howto/sign_up.ipynb", "docs/intro.ipynb", "docs/pandas/00_pandas_start.ipynb", "docs/pandas/01_pandas_dataframe.ipynb", "docs/pandas/02_pandas_tabular_data.ipynb", "docs/pandas/03_pandas_subsets.ipynb", "docs/pandas/04-Variables.ipynb", "docs/pandas/04_pandas_loc_iloc.ipynb", "docs/pandas/05_pandas_summary_statistics.ipynb", "docs/pandas/getting_started.ipynb", "docs/pandas/original_03_pandas_subsets.ipynb"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 15, 18, 23, 25, 27, 28, 29, 30, 31, 32, 33, 34, 36], "0": [4, 5, 6, 7, 8, 9, 10, 11, 15, 17, 24, 29, 30, 31, 32, 33, 34, 36], "00": 30, "0000": [30, 31, 33, 34, 36], "000000": 34, "028662": 34, "0500": [30, 31, 33, 34, 36], "07": 11, "0750": [31, 36], "0x7f8a643c42c0": 4, "1": [4, 5, 13, 15, 17, 18, 26, 29, 30, 31, 32, 33, 34, 36], "10": [4, 5, 7, 8, 10, 11, 23, 30, 31, 32, 33, 36], "100": [4, 8, 11, 15, 32], "1000": [30, 31, 33, 34, 36], "106": 34, "10th": 33, "11": [7, 8, 9, 23, 30, 31, 33, 36], "111369": [30, 31, 33, 34, 36], "112053": [30, 31, 33, 34, 36], "113783": [31, 36], "113803": [30, 31, 33, 34, 36], "11751": [31, 36], "11767": [31, 36], "118810": 34, "12": [7, 8, 9, 10, 11, 17, 25, 30, 31, 32, 33, 34, 36], "120": [10, 11, 23], "123": 6, "125": 10, "1250": [31, 36], "125000": 34, "125798": 34, "13": [5, 10, 30, 31, 32, 33, 34, 36], "14": [7, 31, 32, 33, 34, 36], "14159": 7, "1415926": 5, "147314": 34, "14879": 30, "15": [11, 31, 32, 33, 36], "150": 11, "155": 10, "1583": [31, 36], "159236": 34, "16": [5, 9, 31, 32, 33, 34, 36], "1664984018": 32, "17": [5, 9, 31, 32, 33], "17463": [31, 36], "17599": [30, 31, 33, 34, 36], "1764": [20, 21], "177": 30, "18": [9, 17, 32, 33], "184": 34, "1868761352": 32, "188908": 34, "19": [30, 31, 32, 33, 34, 36], "19680801": 4, "1984": 9, "2": [3, 5, 17, 18, 26, 29, 30, 31, 32, 33, 34, 36], "20": [9, 11, 30, 31, 32, 33, 34], "200": 10, "2014": 2, "204": [30, 31, 36], "204208": 34, "21": [31, 33, 34, 36], "211536": [30, 31, 33, 34, 36], "21171": [30, 31, 33, 34, 36], "216": 34, "217": [31, 33, 36], "22": [11, 29, 30, 31, 32, 33, 34, 36], "226127": 34, "23": [30, 31, 32, 33, 34, 36], "235702": 34, "236852": [31, 36], "24": 33, "247": 31, "248706": [31, 36], "25": [7, 11, 17, 29, 31, 32, 33, 34, 36], "2500": [29, 30, 31, 33, 34, 36], "25th": 33, "26": [30, 31, 33, 34, 36], "27": [30, 31, 32, 33, 34, 36], "2750": [31, 36], "28": [32, 33, 34], "2833": [29, 30, 31, 33, 34, 36], "29": [31, 32, 34, 36], "3": [5, 17, 18, 29, 30, 31, 32, 33, 34, 36], "30": [11, 15, 30, 31, 33, 34, 36], "300": 11, "31": [31, 32, 33, 34, 36], "3101282": [30, 31, 33, 34, 36], "317": 32, "318": 32, "319": 32, "32": [30, 31, 33, 34, 36], "320": 32, "321": 32, "322": 32, "324": 32, "3249180260": 32, "329200": 34, "33": 32, "330877": [31, 36], "34": 33, "345765": [31, 36], "347082": [31, 36], "349909": [31, 36], "35": [29, 30, 31, 32, 33, 34, 36], "37": 32, "370376": [30, 31, 33, 34, 36], "373450": [30, 31, 33, 34, 36], "38": [29, 30, 31, 33, 34, 36], "382652": [31, 36], "387211622": 32, "389108": 34, "389948": 34, "39": [31, 33, 36], "392076": [31, 36], "3981446915": 32, "3rd": 33, "4": [3, 4, 5, 17, 18, 30, 31, 32, 33, 34, 36], "40": 32, "42": [5, 6, 7, 20, 21, 31, 36], "420000": 34, "429809": 34, "431": 34, "44": 34, "45": [6, 10, 30], "4500": [30, 31, 33, 34, 36], "454": 34, "4542": 34, "454200": 34, "4583": [31, 36], "47": [31, 36], "479818": 34, "49": 34, "491": 34, "5": [4, 11, 17, 25, 30, 31, 32, 33, 34, 36], "50": [11, 34], "500": 11, "51": [31, 36], "512": [7, 34], "52": [7, 8, 31, 36], "523893": 34, "526497": 34, "53": [8, 30, 31, 33, 34, 36], "54": [11, 31, 36], "55": [10, 31, 33, 36], "5500": [31, 36], "5542": [31, 36], "56": [31, 36], "58": [29, 31, 33, 36], "6": [11, 17, 30, 31, 32, 33, 36], "60": [6, 30], "600": 7, "61": 29, "64": 25, "649682": 34, "6607": [30, 31, 33, 34, 36], "661633": 34, "665": 30, "666": [5, 30], "6666666666666667": 7, "67": 34, "675": [31, 36], "687": 30, "693429": 34, "694268": 34, "69911764705882": 34, "699118": 34, "6th": 33, "7": [5, 7, 8, 11, 29, 30, 31, 32, 33, 34, 36], "70": 11, "71": [11, 29, 30, 31, 33, 34, 36], "712": 8, "714": [30, 31, 34, 36], "72": 5, "726645": 34, "73": 30, "741782": 34, "742038": 34, "75": [10, 30, 34], "7500": [30, 31, 33, 34, 36], "777": 5, "8": [5, 11, 15, 17, 29, 30, 31, 32, 33, 34, 36], "80": [10, 11, 34], "800": 11, "83": [30, 31, 36], "84": 15, "85": 11, "86": 11, "8625": [31, 36], "865": [31, 33, 36], "866": [31, 36], "871": [31, 33, 36], "872": [31, 36], "873": [31, 33, 36], "874": [31, 36], "879": [31, 33, 36], "880": [31, 36], "883": 31, "884": [31, 36], "885": [31, 33, 36], "886": [30, 31, 33, 34, 36], "887": [30, 31, 33, 34, 36], "888": [30, 31, 33, 34, 36], "889": [30, 31, 33, 34, 36], "890": [30, 31, 33, 34, 36], "891": [30, 31, 33, 34, 36], "9": [7, 8, 9, 10, 11, 30, 31, 32, 33, 36], "90": 11, "910400": 34, "915709": 34, "9250": [29, 30, 31, 33, 34, 36], "970121": 34, "99": 9, "99th": 9, "A": [0, 5, 6, 7, 8, 9, 10, 17, 18, 24, 25, 29, 31, 32, 33, 34], "AND": [31, 36], "And": [6, 9, 15, 29], "As": [4, 6, 25, 31, 32, 34, 36], "Be": [10, 25, 32], "But": [4, 6, 7, 9, 10, 11, 15, 25, 32], "By": [8, 13, 23, 24, 30], "For": [0, 2, 4, 5, 6, 7, 9, 13, 15, 17, 22, 25, 29, 30, 31, 32, 33, 34, 36], "If": [3, 5, 6, 7, 8, 9, 10, 11, 15, 20, 21, 23, 24, 25, 26, 28, 29, 31, 32, 34], "In": [2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 18, 22, 23, 24, 25, 26, 28, 29, 30, 32, 33, 34], "It": [2, 5, 6, 7, 9, 10, 11, 15, 17, 18, 21, 25, 29, 30, 31, 33, 34, 36], "Its": 15, "No": [25, 32], "Not": [10, 18], "OF": 15, "OR": [15, 31, 36], "On": 23, "Or": [5, 10, 11, 25, 28, 32], "THE": 15, "That": [1, 3, 10, 11, 27], "The": [0, 1, 2, 3, 6, 7, 9, 10, 15, 17, 19, 20, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 36], "Then": [25, 31, 32, 33], "There": [4, 5, 6, 7, 9, 11, 15, 19, 25, 26, 28], "These": [0, 6, 8, 15, 19, 24, 28, 29, 31, 33], "To": [6, 7, 8, 9, 11, 13, 15, 16, 20, 21, 23, 24, 25, 30, 31, 36], "With": [3, 24, 31, 32], "_": [15, 32], "____": [9, 10, 11], "_alistairs_real_ag": 6, "_modified_open": 32, "aaah": 8, "ab": [5, 6], "abbrevi": 7, "abelson": 31, "abil": 31, "about": [0, 2, 3, 4, 5, 6, 8, 9, 11, 15, 17, 20, 22, 25, 27, 28, 29, 30, 31, 32, 34], "abov": [5, 6, 7, 9, 10, 15, 24, 25, 32, 33, 36], "absenc": 31, "absolut": [1, 5, 6, 8, 12, 13, 16, 26, 27], "accept": 2, "access": [5, 9, 17, 18, 23, 25, 28, 29, 31, 32, 33, 36], "accident": 11, "accordingli": 7, "account": 25, "acess": 5, "achem": [31, 33], "achiev": 33, "acknowledg": [1, 27], "acronym": 10, "across": 34, "action": [10, 11, 17, 24, 31, 33], "activ": 24, "actual": [6, 7, 10, 15, 17, 29, 30, 34], "ad": [5, 6, 10, 15, 17, 25, 28, 29, 32], "add": [5, 6, 7, 8, 9, 10, 24, 29, 31], "add_": 4, "addit": [7, 8, 15, 17, 23, 28, 31], "addition": [6, 23, 24, 32], "adel": [31, 33], "adieu": 15, "adjust": [11, 23, 36], "adolfina": 33, "adopt": [18, 28, 29], "adress": 6, "adult": 17, "advanc": [13, 15, 17, 31], "advantag": 13, "advic": 0, "advis": [10, 25], "aeg": 8, "af": 15, "affect": [6, 9, 24, 32], "affix": 15, "africa": 15, "afsl\u00f8r": 15, "after": [6, 7, 8, 9, 10, 15, 17, 18, 25, 27, 28, 29, 31, 32, 33], "afterward": [12, 25], "ag": [6, 8, 17, 25, 29, 30, 31, 33, 34, 36], "again": [10, 11, 12, 28, 32], "against": 32, "age_in_3_year": 29, "agg": 34, "agit": 15, "ago": [6, 23], "agre": 25, "agreement": 25, "ah": 15, "ahead": 25, "ahm": [6, 7], "air": 15, "aka": [7, 29], "album": 32, "alcott": 32, "alexenia": [31, 33, 36], "algorithm": 27, "alias": [18, 28, 29, 30, 31, 33, 34, 36], "alic": [17, 32], "align": [4, 29], "all": [1, 2, 3, 6, 7, 9, 10, 11, 12, 15, 18, 19, 24, 25, 26, 27, 28, 29, 30, 31, 32, 36], "all_the_word": 32, "allen": [29, 30, 31, 33, 34, 36], "allevi": 30, "allow": [2, 5, 7, 9, 11, 17, 21, 23, 24, 25, 29, 30, 31, 33, 36], "almost": [6, 10, 32], "alon": 33, "along": [12, 25, 28, 29, 30], "alphabet": [8, 15], "alphanumer": 6, "alreadi": [8, 10, 17, 25, 26, 28], "also": [2, 3, 4, 5, 6, 7, 8, 15, 20, 21, 22, 23, 25, 28, 29, 31, 33, 36], "alt": 24, "alter": [9, 17], "altern": [11, 23, 25], "although": [5, 15, 31, 33], "alwai": [5, 8, 10, 11, 19, 23, 25, 31], "am": [5, 8, 15, 17, 32], "amanda": 33, "ambigu": [7, 36], "amercian": 11, "america": 15, "amount": 29, "amp": 32, "an": [1, 2, 5, 6, 7, 8, 9, 10, 13, 15, 17, 18, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 36], "analysi": [24, 26, 30], "analyt": [1, 27], "analyz": [15, 32], "ander": [31, 33, 36], "andersson": [31, 33, 36], "andr": 15, "ani": [3, 5, 6, 8, 9, 10, 11, 15, 17, 18, 20, 21, 23, 24, 25, 28, 32], "anim": 10, "anna": 33, "anni": 33, "anoth": [5, 7, 11, 15, 32], "answer": 7, "ant": 27, "any_chunk_of_text": 32, "anyon": [1, 27], "anyth": [5, 8, 9, 10, 15, 32], "anywher": 23, "appear": [7, 15], "append": [5, 10, 11, 15], "appli": [18, 29, 31, 34, 36], "applic": [17, 23, 25], "approach": [15, 30, 34, 36], "appropri": [6, 11, 32], "ar": [1, 2, 3, 5, 7, 8, 10, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 24, 25, 28, 29, 30, 32, 33, 34, 36], "archangel": 15, "archiv": 25, "arg": 32, "argument": [0, 6, 29, 30, 33, 34], "aris": 31, "arithmet": 7, "around": [6, 8, 25, 27], "arrai": [4, 10, 18, 29], "arrow": [23, 24], "asdf": 10, "ask": [7, 11, 25, 29], "asp": 15, "assign": [5, 8, 9, 10, 11, 12, 29], "associ": [11, 18, 32], "assum": 29, "attach": 36, "attempt": [9, 11], "attend": [1, 7, 12, 27], "attent": 0, "attribut": [30, 31, 36], "auditori": 2, "august": 15, "australia": 2, "auto": 22, "automat": [6, 10, 11, 23, 24, 28], "autosav": 23, "avail": [0, 25, 30, 32, 34], "averag": [7, 34], "avert": 15, "avoid": [6, 10], "awar": 25, "ax": 4, "axi": [29, 30], "b": [5, 6, 8, 10, 11, 18, 24], "b42": [30, 31, 33, 34, 36], "ba": 6, "back": [6, 11, 23, 25], "backslash": 5, "backward": 9, "bad": [6, 31, 32], "banfield": 31, "bar": 11, "base": [1, 3, 5, 7, 11, 17, 18, 27, 33], "basic": [11, 12, 17, 26, 31], "beast": 15, "beaufort": 15, "beauti": 15, "becaus": [5, 6, 7, 8, 10, 15, 31, 32, 33], "beckwith": [31, 33, 36], "becom": [6, 9, 11, 15, 29, 31], "been": [1, 6, 8, 9, 10, 11, 15, 17, 25, 27, 32], "beeslei": 33, "befor": [1, 5, 8, 9, 11, 12, 15, 20, 25, 27, 28, 31, 32, 33], "begin": [4, 5, 6, 9, 10, 17, 26], "beginn": [1, 8, 12, 13, 16, 26, 27], "behav": [31, 33], "behavior": [9, 31, 33], "behind": 15, "behr": [30, 31, 33, 34, 36], "being": [2, 6, 10, 15, 30, 32], "below": [1, 5, 6, 8, 9, 10, 11, 12, 15, 20, 21, 24, 25, 29, 30, 32, 33, 36], "beneath": [20, 21], "benefit": 31, "best": 6, "betingels": 15, "better": [6, 11, 31], "between": [5, 7, 8, 11, 15, 23, 32, 33], "beyonc": 32, "beyond": [17, 33], "bib": 2, "bibliographi": 2, "bibtex": 2, "binder": 21, "birth": 15, "bit": [5, 11, 25, 26], "blah": 8, "blank": 8, "blind": 9, "blink": 24, "block": [3, 6, 10, 12, 17, 32], "blu": 6, "blue": [6, 10, 24], "blur": 8, "boarder": 15, "bodi": [10, 11], "boi": 15, "boks": 0, "bold": 15, "bonnel": [29, 31, 33, 36], "book": [1, 2, 3, 4, 7, 9, 10, 15], "book_titl": 9, "bool": 36, "boolean": [11, 30, 33, 36], "borrow": [1, 27], "bortfiltrer": 15, "both": [2, 5, 6, 8, 9, 15, 17, 18, 29, 31, 32, 33, 34], "bottom": [10, 24, 25], "boundari": 15, "box": [2, 6, 23, 25, 32], "brace": 24, "bracket": [5, 6, 9, 22, 31, 33, 34], "bradlei": [30, 31, 33, 34, 36], "branch": 11, "braund": [29, 30, 31, 33, 34, 36], "breadcrumb": 23, "brew": 11, "brian": 2, "briefli": 9, "brigg": [30, 31, 33, 34, 36], "brilliant": 15, "brisban": 2, "broader": 25, "brother": 15, "brought": 15, "brows": 25, "browser": [23, 25], "bug": 28, "build": [2, 6, 10, 11, 12, 13, 17, 32], "built": [3, 6, 7, 10, 12, 17, 25, 32], "builtin": [8, 32], "button": [6, 11, 25], "bystrom": [31, 33, 36], "c": [8, 10, 11, 23, 30, 31, 33, 34, 36], "c103": [31, 36], "c123": [30, 31, 33, 34, 36], "c148": [30, 31, 33, 34, 36], "c50": [31, 36], "c85": [30, 31, 33, 34, 36], "cabin": [30, 31, 33, 34, 36], "cach": 15, "calcul": [5, 7, 9, 10, 29, 30, 32, 34], "calendar": 26, "call": [2, 6, 7, 8, 9, 10, 11, 17, 18, 25, 28, 29, 30, 32], "came": 7, "campaign": 11, "can": [0, 1, 2, 3, 4, 8, 9, 10, 11, 12, 15, 16, 17, 18, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36], "cannot": [6, 7, 8, 9, 17, 23, 25, 32, 33, 36], "capabl": [5, 18, 28], "capit": [15, 25], "captur": 9, "car": 11, "care": 6, "carefulli": 25, "carli": 32, "carolin": 15, "carpentri": [1, 27], "carri": [8, 11, 30, 31, 33, 34, 36], "carrol": 32, "case": [8, 10, 15, 25, 28, 32, 33], "cat": 10, "catalina": 25, "catch": [6, 11], "categor": 29, "categoris": 11, "catherin": [30, 31, 33, 34, 36], "caught": 11, "caus": [8, 25, 28], "caution": [0, 25], "cd": 23, "cell": [7, 8, 9, 10, 20, 21, 22, 32], "certain": [5, 6, 11, 15, 17, 18, 29, 36], "certainli": [6, 32], "certif": 25, "chang": [6, 10, 11, 15, 17, 23, 25, 29, 32], "chapter": [12, 15, 32], "char": 10, "charact": [5, 6, 7, 10, 15, 32], "characterist": 29, "charat": 15, "charl": [31, 33], "charlott": 32, "charm": 7, "cheatsheet": 0, "check": [4, 5, 6, 11, 23, 29, 30, 31, 32, 36], "checkpoint": 23, "child": 15, "choic": [6, 11, 25], "choos": 10, "christian": 15, "christoph": 2, "chronolog": [6, 11], "cite": 2, "clarifi": [0, 6, 32], "clariti": [11, 31], "class": [31, 34, 36], "classifi": 11, "clean": [15, 24], "clean_text_1": 15, "clean_text_2": 15, "cleaned_text": 15, "clear": [6, 9, 11, 24, 31, 32], "clearer": [31, 32], "clearli": 15, "click": [6, 8, 23, 24], "clidk": 20, "clock": 15, "close": [6, 8, 22, 25], "closer": [5, 8], "cloud": 32, "cm": 4, "cmap": 4, "cmd": [23, 24, 25], "code": [1, 2, 3, 6, 7, 8, 9, 10, 17, 19, 22, 25, 27, 28, 30, 31, 32, 33, 36], "coffe": [6, 11, 32], "cognit": 2, "cold": 4, "collaps": 23, "collect": [6, 9, 10, 11, 17, 32], "colon": [6, 10, 11], "color": [4, 6], "colour": [5, 6, 10], "colum": 18, "column": [18, 34], "com": 15, "combin": [8, 9, 11, 17, 29, 34, 36], "come": [7, 11, 23, 25], "comma": [6, 9, 15, 18, 30, 31, 33], "command": [3, 7, 10, 23, 25, 28, 29, 30, 31, 32], "common": [6, 10, 17, 34], "commonli": [8, 17], "commonmark": 2, "compar": [5, 8, 18, 29, 31, 36], "comparis": 5, "comparison": [15, 17, 36], "compil": [16, 25], "complet": [13, 25], "complex": [33, 36], "compos": [9, 15], "comprehens": [15, 19], "comput": [1, 5, 18, 19, 20, 21, 24, 25, 26, 27], "concat": 29, "concaten": [7, 8, 10, 29], "concept": [13, 16, 26], "concern": 6, "concis": [30, 31, 33], "concord": 15, "condit": [5, 8, 13, 25, 30, 33], "confer": 2, "configur": 21, "confirm": 23, "confus": [5, 16, 36], "congratul": [11, 25], "conjunct": 27, "connect": [1, 14, 25], "consecut": 7, "consequ": 0, "consid": [9, 17], "consider": 15, "consist": [5, 7, 10, 15, 31], "contain": [5, 6, 10, 11, 15, 17, 20, 21, 24, 29, 30, 31, 32, 34, 36], "content": [0, 2, 3, 6, 9, 15, 17, 21, 23], "context": [15, 18], "contextlib": 4, "continu": [5, 11, 25], "contrari": 8, "contrast": 9, "contribut": 15, "control": [17, 23, 31], "conveni": [29, 30, 34], "convent": [0, 10, 18, 28, 29], "convention": 28, "convers": [12, 36], "convert": [3, 5, 7, 11, 29], "coolwarm": 4, "copenhagen": [1, 25, 26, 27], "copi": [6, 11, 23, 25, 31], "cop\u00eat": 15, "core": [24, 29, 30, 31, 32, 36], "corollari": 27, "corpor": 25, "correct": [7, 11, 17, 23], "correctli": [6, 8, 10, 11, 17, 28], "correspond": [9, 24, 29, 32, 33, 36], "cortex": 2, "could": [7, 9, 11, 30, 32], "count": [6, 7, 8, 9, 11, 30, 31, 32, 36], "counter": [11, 32], "cours": [1, 7, 10, 11, 12, 13, 14, 17, 25, 27], "cover": [12, 13, 23, 31], "crash": 32, "creat": [4, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21, 22, 23, 25], "creation": [9, 29], "creatur": 15, "crimin": 15, "criteria": [11, 18, 31], "critic": 0, "cruyssen": [31, 33, 36], "ctrl": [11, 23, 24], "cultur": [1, 27], "cume": [30, 31, 33, 34, 36], "curli": 24, "current": [1, 9, 10, 11, 24, 25, 27], "cursor": 24, "custom": 36, "custom_lin": 4, "cut": 7, "cwd": 30, "cycler": 4, "d": [3, 9, 10, 24, 30, 31, 33, 36], "d35": [31, 36], "dag": 25, "dai": [7, 15], "danger": 0, "danira": 33, "dark": 15, "data": [4, 6, 8, 10, 11, 12, 15, 18, 24, 25, 26, 31, 32, 33, 36], "databas": 30, "datacamp": 25, "datafram": 35, "datalab": [1, 27], "dataset": [18, 25, 30, 31, 33, 34, 36], "de": [2, 15], "deal": 36, "dec": 15, "decent": 11, "decim": [5, 8, 17], "decod": 15, "deep": 30, "deeper": 22, "deepest": [1, 27], "def": [15, 32], "default": [3, 6, 23, 24, 25, 28, 29, 30, 32, 34], "defin": [3, 6, 8, 10, 11, 17, 31, 32, 34, 36], "definit": [6, 15, 16, 32], "deform": 15, "del": 9, "delet": 22, "delic": 11, "delici": 11, "delus": 15, "dem": 15, "demand": 10, "den": 15, "denn": 0, "departur": 30, "depend": [2, 7, 8, 17, 23, 25, 28], "depth": [9, 22], "der": 15, "descend": 15, "describ": [0, 8, 15, 25, 30, 33, 34], "descript": [9, 25], "design": [17, 20, 21, 22, 26, 29, 31, 33], "desir": [23, 32], "despacito": 9, "destin": 25, "det": 15, "detail": [3, 20, 21, 25, 34], "detect": [7, 8], "determin": [7, 11, 27, 29, 30, 31, 36], "develop": [19, 25, 27], "develp": 25, "df": [18, 29, 31], "df_transpos": 29, "dictionari": [12, 16], "did": 32, "differ": [0, 1, 2, 5, 6, 10, 11, 12, 15, 17, 18, 22, 24, 25, 30, 32, 33, 34], "different_vari": 32, "difficult": 10, "digit": [6, 8, 15, 32], "dimens": [29, 30, 31, 36], "dimension": [18, 29], "dire": 15, "direct": [0, 3], "directli": [5, 7, 23, 24, 25, 28, 31, 33, 36], "directori": 32, "disabl": [24, 25], "discard": 9, "displai": [3, 8, 9, 11, 23, 25, 29, 30, 31, 33, 34, 36], "disrupt": 8, "diss": 15, "distanc": 6, "distant": 15, "distinguish": 15, "dive": [12, 22, 24], "divid": [5, 7], "divin": 15, "dk": 20, "dkk": 29, "do": [2, 4, 5, 6, 8, 9, 10, 11, 15, 17, 23, 25, 26, 29, 30, 31, 32], "document": [0, 2, 3, 4, 9, 11, 23, 31, 33, 34], "documentaion": [1, 27], "doe": [5, 6, 7, 8, 9, 10, 15, 23, 25, 32, 34], "doesn": [5, 6, 8, 15], "doesnt": 25, "dog": 10, "dollar": 4, "don": [7, 11, 16, 25, 32], "done": [5, 6, 7, 10, 11, 17, 25, 28, 29, 31, 34], "doolei": [30, 31, 33, 34, 36], "doubl": [6, 7, 15, 17, 23, 25, 31, 32, 33, 36], "down": [6, 8, 11, 15, 23, 24, 25, 32], "download": [1, 12, 15, 27, 28], "downward": 24, "dracula_bram": 32, "drag": 23, "draw": 6, "dream": 15, "drive": 25, "drop": [23, 25], "dropna": 34, "dsaio": 9, "dtype": [29, 31, 34, 36], "due": 36, "dure": [10, 32], "e": [6, 7, 8, 9, 10, 11, 15, 17, 20, 23, 24, 26, 29, 30, 31, 33, 34], "e46": [31, 36], "each": [0, 5, 6, 7, 8, 9, 10, 11, 12, 18, 23, 29, 30, 32, 34, 36], "earlier": 23, "easi": [11, 15], "easier": [6, 15, 18, 24, 28, 29], "easiest": 25, "easili": [24, 25], "ebook": 15, "ecosystem": 2, "edith": [30, 31, 33, 34, 36], "editor": [5, 6, 23], "edu": 21, "effect": [9, 11, 22, 23, 31], "effici": [10, 22, 23, 24, 27, 29, 31, 33, 36], "efter": 15, "either": [5, 6, 7, 9, 11, 13, 15, 17, 25, 31, 36], "elaps": 7, "electron": 25, "eleg": 33, "element": [1, 6, 9, 17, 18, 29, 30, 36], "eleph": 10, "elizabeth": [31, 33, 36], "ellipsi": 30, "els": [5, 9, 10, 32], "elsewher": 0, "email": [20, 21], "emb": 4, "embark": [30, 31, 33, 34, 36], "embrac": 15, "emelia": 33, "emot": 32, "empti": [8, 10], "en": [0, 15], "enabl": [23, 24, 25], "enclos": [5, 24], "encod": 32, "encount": [16, 19, 28], "encourag": [1, 20, 27], "end": [4, 5, 6, 10, 11, 13, 15, 17, 30, 31, 33, 36], "endpoint": 36, "engag": 11, "engin": [15, 24], "england": 15, "english": [8, 15], "englishman": 15, "enhanc": [22, 36], "enlighten": 15, "enrol": 7, "ensur": [1, 13, 15, 23, 24, 27, 28, 31, 36], "ensurepip": 25, "enter": [11, 23, 24, 25], "entir": [6, 9, 24, 29, 31, 34], "entri": [30, 31, 34, 36], "environ": [5, 6, 8, 25, 30, 32], "episod": [8, 9], "epub": 15, "equal": [6, 7, 9, 17, 29, 32], "equip": 31, "equival": [10, 36], "er": 15, "eras": 25, "erda": 17, "errno": 32, "error": [0, 6, 7, 9, 28, 31, 32], "esc": 24, "escap": [4, 5, 32], "especi": [17, 24], "espresso": 11, "essenti": [5, 13, 22, 30, 33], "et": 15, "etc": [4, 5, 6, 8, 9], "eugen": [31, 33], "european": 15, "evalu": [6, 11, 36], "even": [5, 7, 9, 11, 13, 15, 28, 30, 32], "evenli": 7, "event": [8, 15], "everi": [7, 15, 23], "everydai": 15, "everyon": [7, 10], "everyth": 15, "evid": [2, 31], "evolv": 11, "ewr_422_yi": 6, "ex": 25, "exactli": [8, 15, 30, 32], "exampl": [2, 4, 5, 6, 7, 8, 9, 10, 15, 17, 18, 20, 21, 23, 25, 31, 32, 34, 36], "exce": 36, "excel": [11, 15, 28], "except": 8, "excerpt": 15, "exchang": [6, 29], "exclaim": 5, "exclam": 28, "exclud": [17, 34, 36], "exclus": 33, "execut": [3, 6, 8, 9, 17, 24, 31, 33], "exercis": 12, "exist": [5, 6, 8, 9, 10, 17], "exit": 11, "exitstack": 4, "exmampl": 0, "expand": 23, "expect": [7, 8, 10, 11, 26], "experi": [15, 21], "experiment": 7, "explain": [5, 7, 8, 9, 10, 11, 17, 20, 21, 29], "explan": [5, 10], "explicit": [31, 33], "explicitli": [7, 31, 33, 34], "explor": [23, 31, 32], "export": 30, "express": [5, 7, 8, 9, 11, 15], "extend": [1, 5, 9, 27, 29], "extens": [0, 2], "extern": 28, "extra": [7, 8], "extract": [5, 9, 15, 17, 18, 30, 31, 36], "extrem": [5, 6, 15, 32], "ey": 6, "eye_color": 6, "f": [6, 15, 32], "fact": 6, "factor": 34, "faint": 15, "fair": 15, "fairi": 15, "fairli": 6, "fall": 10, "fals": [5, 11, 17, 30, 36], "falter": 36, "famili": 15, "familiar": [7, 26], "far": [6, 10, 11, 25], "fare": [29, 30, 31, 33, 34, 36], "fare_in_dkk": 29, "farewel": 15, "fast": [10, 11], "fatima": 33, "favorit": 10, "fd": 32, "featur": [6, 20, 21, 22, 23, 24, 25, 28, 32], "femal": [29, 30, 31, 33, 34, 36], "feng": 8, "fetch": 9, "few": [5, 6, 15, 21, 25, 32, 36], "field": 15, "fig": 4, "figsiz": 4, "figur": [6, 7, 15], "file": [3, 14, 18, 20, 21, 22, 25, 28], "filenam": [6, 32], "filenotfounderror": 32, "filepath": 32, "filepath_of_text": 32, "fill": 29, "filter": [15, 33], "final": [6, 8, 9, 11], "find": [1, 5, 7, 8, 9, 15, 22, 23, 25, 26, 27, 30], "findal": 15, "finder": [23, 25], "fine": 25, "finger": [6, 23, 27, 32], "finicki": 25, "finish": [10, 25], "first": [5, 6, 7, 8, 9, 10, 11, 12, 15, 16, 17, 25, 30, 31, 32, 33, 34, 36], "first_nam": 6, "firstnam": 10, "fish": 10, "fit": 34, "five": [30, 33, 36], "fix": [4, 8, 10, 25, 28], "flabadab": 6, "flag": 28, "flash": 15, "flavor": 2, "flexibl": 31, "float": [8, 9, 11, 18, 29, 30], "float64": [29, 30, 31, 34, 36], "floor": [5, 7], "florenc": [30, 31, 33, 34, 36], "flow": [8, 11, 17], "focu": 26, "focus": [11, 24], "fold": 5, "folder": [23, 25, 30], "follow": [2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 15, 23, 24, 25, 29, 30, 33, 36], "food": 27, "fool": 15, "fora": 19, "fordi": 15, "forgot": 8, "form": [5, 9, 15, 17, 29], "format": [6, 18, 30, 32], "former": 7, "formula": 7, "forskellig": 0, "forward": 9, "found": [12, 20, 21, 25, 30, 34], "foundat": [13, 26], "four": [5, 10, 17], "fourth": [9, 10], "fra": 15, "fraction": [7, 17], "frame": [29, 30, 31, 36], "franc": 15, "frederick": 31, "free": 26, "frenzi": 15, "frequenc": 32, "frequent": 32, "fridai": 15, "fright": 15, "from": [1, 4, 5, 6, 7, 8, 10, 11, 13, 15, 17, 18, 20, 21, 23, 24, 25, 27, 29], "front": [1, 27, 28], "frontier": 2, "ft": 32, "fuction": 17, "fulfil": 11, "full": [7, 13, 15, 25, 30, 34], "full_nam": 7, "full_text": 32, "fulli": 16, "fun": [6, 11], "function": [2, 6, 7, 9, 10, 12, 15, 18, 24, 28, 29, 30, 31, 32, 33, 34, 36], "fundament": [6, 15, 32], "further": [20, 21, 23, 31, 32, 33], "futrel": [30, 31, 33, 34, 36], "futur": [6, 8, 25, 28], "fynnei": [31, 33], "g": [6, 7, 9, 15, 17, 23, 24, 26, 31, 34], "gain": [15, 26], "gallant": 15, "game": 13, "gather": [11, 26], "gbp": 29, "geeksforgeek": [29, 30], "gender": 34, "gener": [0, 6, 9, 11, 34], "geneva": 15, "geneves": 15, "german": 15, "germani": 15, "get": [1, 2, 3, 5, 8, 9, 15, 26, 27, 31, 32, 33, 34], "giant": [1, 27], "gilman": 32, "gip": 10, "giraff": 10, "girl": 15, "give": [7, 10, 15, 25, 31, 32], "given": [6, 7, 8, 9, 18, 29, 34], "go": [8, 10, 11, 12, 23, 24, 25, 28, 33], "goal": [9, 11], "godwin": 15, "goe": [5, 8, 9, 10], "gold": [8, 9], "gone": 32, "good": [7, 8, 11, 15, 19, 25], "googl": 19, "gosta": [31, 36], "got": 8, "grade": 11, "graham": [30, 31, 33, 34, 36], "grammar": [8, 17], "grammat": 15, "grasp": 16, "great": [11, 15], "greater": [5, 7, 11, 31, 33, 36], "greedi": 15, "green": [6, 10, 32], "greenland": 15, "greet": 17, "grimm": 15, "group": 10, "grow": 10, "guess": 6, "guessed_correctli": 11, "guid": [4, 8, 15, 22, 23, 24, 25, 28], "gutenberg": 15, "h": 7, "ha": [1, 5, 6, 7, 8, 9, 10, 15, 17, 18, 19, 24, 25, 27, 30, 31, 32, 33, 36], "had": [15, 32], "half": 7, "hall": 31, "halo": 15, "hand": [9, 20], "handi": 5, "handiest": [6, 32], "handl": [7, 33, 34], "hang": 15, "hannah": 31, "happen": [6, 7, 15, 23, 32, 36], "har": 0, "harder": 32, "harri": [30, 31, 33, 34, 36], "harrypotter1": 9, "have": [1, 3, 6, 9, 10, 11, 12, 13, 15, 17, 20, 21, 25, 26, 27, 28, 30, 31, 32, 33, 36], "haven": 6, "hdhpk14": 2, "he": [15, 32], "head": 25, "heath": [30, 31, 33, 34, 36], "heaven": 15, "heavi": 15, "heer": 2, "heikkinen": [30, 31, 33, 34, 36], "helen": [30, 31, 33, 34, 36], "hello": [5, 7, 8, 17, 25], "help": [0, 1, 2, 5, 6, 9, 12, 15, 16, 22], "henri": [30, 31, 33, 34, 36], "hentet": 0, "her": 32, "here": [0, 1, 2, 4, 5, 6, 7, 8, 10, 11, 14, 20, 21, 23, 24, 25, 27, 28, 29, 30, 31, 32, 36], "herfra": 0, "herself": 32, "hewlett": [31, 33, 36], "hi": [5, 15, 32], "hickman": 30, "hide": 20, "high": [0, 6, 9, 11], "higher": [6, 8, 11, 30], "highlight": [24, 25], "him": 32, "himself": 32, "hint": [0, 6, 9, 11], "hire": 15, "histor": 15, "hit": 15, "hivb10078u": 14, "hold": [9, 18, 23, 29, 30], "holdgraf": 2, "holdgraf_evidence_2014": 2, "holidai": 15, "homer": 15, "horizont": 29, "hostedtoolcach": 32, "hot": 4, "hover": 21, "how": [0, 1, 3, 6, 7, 8, 11, 12, 15, 17, 19, 23, 24, 26, 27, 28, 30, 31, 32, 33], "howel": [30, 31, 33, 34, 36], "howev": [5, 6, 7, 11, 23, 25, 28, 30, 32], "html": [0, 4], "http": [0, 15], "hulda": 33, "human": [2, 6, 15, 27], "hundr": 9, "hung": 15, "hvad": 15, "hvi": 15, "hvordan": 0, "hyphen": 9, "i": [3, 4, 5, 12, 13, 15, 17, 18, 19, 22, 24, 28, 31, 32, 33, 34, 36], "icon": [20, 21, 23, 24, 25], "id": [10, 25], "idea": [8, 19, 25, 31], "ideal": 6, "identifi": [15, 18, 30, 31], "idiom": 6, "ignor": [8, 17], "igonr": 5, "ii": 4, "ikk": 15, "illustr": [5, 15, 32], "iloc": [35, 36], "imag": 4, "imagin": 11, "imanita": 31, "immedi": 0, "import": [0, 4, 6, 7, 8, 11, 15, 18, 23, 32], "improv": 11, "inadvert": [1, 27], "inbox": 25, "includ": [0, 3, 4, 5, 8, 9, 10, 11, 15, 17, 21, 23, 25, 28, 30, 31, 32, 34], "inclus": [33, 36], "incomplet": 8, "incorrect": 0, "incorrectli": 8, "increas": 15, "incredibli": 15, "increment": [10, 11], "indent": [10, 11], "indentationerror": 10, "independ": 34, "index": [8, 10, 29, 30, 33], "indexerror": [9, 10], "indic": [0, 6, 8, 10, 15, 17, 18, 23, 29, 30, 31, 36], "indispens": 33, "individu": [5, 6, 24], "inds\u00e6tt": 15, "ineffici": [31, 33], "inf": 14, "infant": 15, "inferior": 15, "info": [31, 36], "inform": [0, 3, 4, 6, 7, 9, 17, 18, 22, 29, 31, 34], "inherit": 6, "init": 3, "initi": [6, 8, 9, 10, 11, 17, 25], "inlin": 2, "inner": [31, 36], "input": [2, 8, 17, 23, 25], "insert": [2, 9, 15, 24, 32], "insid": [6, 8, 10, 31, 32, 36], "insight": [0, 15], "inspect": [15, 30], "inspir": [1, 27], "inspirit": 15, "instal": [1, 12, 20, 21, 26, 27], "instanc": [8, 31, 32], "instantli": 25, "instead": [5, 6, 9, 10, 11, 25, 32, 33, 34], "instruct": [3, 6, 12, 23, 24, 25], "insuper": 15, "int": [5, 6, 7, 8, 11], "int64": [29, 30, 31, 34, 36], "integ": [8, 9, 10, 11, 29, 30, 31, 33, 36], "integr": 25, "intend": 1, "intent": 28, "interact": [4, 5], "interactiveshel": 32, "interest": [15, 27, 31, 34], "intermediari": 25, "intern": 2, "interpret": [7, 9], "interrupt": 11, "interv": [9, 23], "intric": 36, "intro": [1, 27], "introduc": [11, 36], "introduct": [1, 13, 27], "intuit": 33, "invalid": [7, 8, 32], "involv": [18, 33], "io": 0, "io_open": 32, "ion": 4, "ip": 10, "ipykernel_2407": 32, "ipynb": [2, 20, 21], "ipython": 32, "irectori": 30, "irresist": 15, "irrespect": 36, "isin": [31, 36], "isn": [11, 25], "isol": 30, "issu": [0, 25, 30, 31], "itali": 15, "item": [5, 6], "iter": [9, 10, 11], "its": [6, 7, 8, 9, 10, 11, 15, 18, 23, 24, 25, 27, 28, 29, 31, 32, 33], "itself": [5, 6, 15, 24, 32], "j": [31, 33, 36], "jacqu": [30, 31, 33, 34, 36], "jame": [31, 36], "jeg": [0, 15], "jepsen": 32, "job": [33, 36], "johan": [31, 33, 36], "john": [30, 31, 33, 34, 36], "johnston": [30, 31, 33, 34, 36], "join": [5, 9, 15, 17], "jon": 10, "joseph": [31, 33], "jr": [31, 33, 36], "judgement": 15, "juli": 15, "juliet": 9, "juliu": 33, "jump": 25, "june": 15, "juoza": [30, 31, 33, 34, 36], "juptyt": 5, "jupyt": [1, 2, 3, 4, 6, 7, 10, 11, 17, 23, 25, 27, 28, 30], "jupyterbook": [0, 2], "jupytext": 3, "jura": 15, "just": [2, 6, 7, 8, 9, 22, 25, 26, 28, 32, 34], "kaggl": 30, "kald": 15, "kan": [0, 15], "karl": [30, 31, 33, 34, 36], "karolina": [31, 33, 36], "kb": [20, 30, 31, 36], "keep": [4, 6, 7, 10, 11], "kei": [23, 25], "kernel": [3, 6, 11, 22, 30], "keyboard": 23, "kill": 9, "kind": [2, 5, 8, 9, 11, 17], "kingcom": [31, 33, 36], "knight": 2, "know": [1, 6, 8, 11, 17, 24, 27, 32], "knowledg": [11, 26], "known": [5, 8, 17, 30, 31, 33], "koden": 0, "kub": [1, 26, 27], "kubdatalab": 20, "kwarg": 32, "l": [9, 32], "la_": 4, "lab": [5, 6, 10, 11, 17, 23, 25, 28], "label": [6, 7, 18, 29, 31, 33, 34, 36], "lack": 31, "ladi": 15, "laina": [30, 31, 33, 34, 36], "languag": [2, 5, 6, 7, 9, 10, 12, 16, 17, 19, 27, 32], "larg": [5, 10, 30, 36], "larger": 8, "largest": 8, "last": [5, 6, 7, 9, 10, 15, 17, 23, 24, 25, 30, 32], "lastnam": 10, "later": [5, 6, 8, 10, 25, 29, 32], "latest": [0, 25, 28], "latter": 7, "launch": 25, "launcher": [23, 25], "lave": 15, "lavet": 0, "lawrenc": 33, "lead": [31, 33], "learn": [1, 12, 15, 19, 22, 24, 25, 27, 31], "least": [8, 9], "leav": [6, 8, 15, 17], "left": [6, 9, 20, 23], "legal": 10, "legend": 4, "lemonad": 32, "len": [6, 7, 8, 9, 10, 15], "lenght": 25, "length": [5, 9, 10, 25, 29, 31, 36], "lengthen": 9, "leonard": [31, 33, 36], "less": [0, 5, 25], "lesson": [5, 7, 9], "let": [1, 3, 6, 7, 8, 17, 27, 31, 32], "letter": [6, 7, 8, 9, 15, 32], "level": [0, 24], "lewi": 30, "lib": 32, "librari": [1, 6, 7, 18, 19, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36], "library_nam": 6, "licens": 25, "light": 9, "like": [2, 3, 5, 6, 7, 8, 9, 10, 11, 15, 16, 17, 18, 20, 21, 22, 23, 25, 29, 30, 31, 32], "likewis": 30, "lili": [30, 31, 33, 34, 36], "limit": [0, 25, 30, 31, 36], "line": [2, 3, 4, 6, 7, 8, 9, 10, 11, 17, 18, 25, 28, 29, 30, 31, 32, 33, 34, 36], "line2d": 4, "link": [17, 25], "linspac": 4, "linux": 24, "list": [0, 6, 10, 11, 13, 16, 17, 18, 25, 29, 31, 33, 34, 36], "list_nam": 9, "listen": 15, "liter": [7, 8], "literatur": [15, 32], "littl": [6, 15, 32], "live": [15, 21], "ll": [2, 6, 25, 31, 32], "load": [21, 30, 31, 33, 34, 36], "loan": 7, "loc": [35, 36], "local": [1, 25, 27, 28], "locat": [6, 9, 25, 30, 33], "log": 25, "logic": [5, 10, 17, 27, 31, 36], "login": 25, "logspac": 4, "london": 15, "long": [5, 6, 7, 9, 11, 15, 23, 32], "longer": 25, "look": [5, 6, 7, 8, 9, 10, 11, 15, 22, 29, 32], "loop": [9, 13, 15], "lot": [2, 4, 7, 11, 16, 25, 32], "love": 15, "low": [6, 9, 11], "lower": [6, 8, 15, 32], "lowercas": 15, "lowercase_text": 32, "lt": 32, "lucern": 15, "lullabi": 15, "luxuri": 15, "lw": 4, "lyric": 32, "m": [6, 15, 25, 32], "machin": [11, 25], "maco": [24, 28], "made": [10, 23, 30, 32, 34], "magic": [7, 30], "magistr": 15, "magnitud": 5, "mai": [0, 5, 6, 7, 8, 11, 15, 21, 24, 25, 28, 29, 30, 31, 32, 33, 34, 36], "main": 28, "maintain": [23, 25, 31], "make": [1, 4, 5, 6, 7, 8, 10, 11, 15, 18, 22, 24, 25, 26, 27, 28, 29, 32, 34], "male": [29, 30, 31, 33, 34, 36], "man": [0, 15], "manag": [15, 18, 22, 25, 29], "mang": 15, "mani": [2, 3, 5, 6, 9, 10, 11, 15, 19, 21, 25, 27, 28, 30, 31], "manipul": [30, 31, 32, 36], "manual": [6, 23], "map": 0, "margaret": [15, 30, 31, 33, 34, 36], "marguerit": 33, "mari": [15, 31, 33, 36], "maria": 33, "mark": [6, 7, 8, 17, 24, 28], "markdownfil": 3, "markedli": 2, "markup": 2, "mask": [33, 36], "masselmani": 33, "master": [31, 33, 36], "match": [7, 15, 29], "materi": [1, 20, 21, 27], "math": [4, 7, 17], "mathemat": 6, "mathemath": 5, "matplotlib": 4, "matter": [5, 6, 11], "mattter": 25, "max": [9, 17, 34], "max_column": 30, "max_row": 30, "maximum": [9, 30], "mbox": 4, "mccarthi": [31, 33, 36], "mcgowan": 33, "md": [2, 3], "me": [15, 21, 32], "mean": [1, 4, 5, 6, 8, 9, 11, 15, 17, 25, 27, 32, 34], "meaning": [8, 10], "meaningful_word": 32, "meaningful_words_t": 32, "meaningfulli": 8, "meant": 21, "measur": 9, "med": 15, "median": 34, "medium": 4, "melani": [1, 27], "melwalsh": 21, "memori": [24, 31, 36], "memory_usag": 30, "mention": [9, 25], "menu": [20, 23, 24, 25], "merchant": 15, "mere": 15, "messag": [6, 7, 10, 17, 28, 32], "met": [5, 11, 17], "metadatacharact": 15, "metaphor": 27, "method": [0, 15, 18, 23, 24, 26, 27, 29, 30, 31, 33, 34, 36], "method_nam": 9, "metric": 11, "mi": 8, "microsoft": 25, "middl": 20, "might": [0, 5, 6, 7, 8, 16, 23, 25, 31, 32, 33, 36], "min": [6, 9, 34], "mind": [10, 25, 27], "miniatur": 15, "minimum": [6, 9], "minu": [5, 9], "minut": [6, 15, 21, 23], "miss": [1, 18, 27, 29, 30, 33, 34, 36], "misspel": [6, 10], "mitski": 32, "mix": 11, "mockeri": 15, "mockingbird": 9, "mode": 22, "moder": 11, "modern": 15, "modif": [17, 31], "modifi": [1, 9, 17, 23, 25, 27, 31], "modul": [8, 11, 17, 32], "modulo": 7, "moment": 11, "momentari": 15, "mondai": 15, "monoton": 15, "montvila": [30, 31, 33, 34, 36], "monypeni": [31, 33, 36], "moran": [31, 36], "more": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 17, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 36], "moreov": [2, 36], "most": [1, 2, 6, 7, 8, 9, 10, 15, 20, 21, 22, 23, 24, 25, 27, 28, 32, 33, 36], "most_common": 32, "most_frequent_meaningful_word": 32, "mostli": 25, "mous": 24, "move": [9, 11, 22, 25], "mr": [15, 30, 31, 33, 34, 36], "much": [1, 5, 6, 10, 11, 25, 27, 30, 32, 34], "mule": 15, "mulipli": 5, "multipl": [6, 7, 9, 11, 17, 23, 32, 34], "multipli": [5, 7, 29], "murder": 15, "murderess": 15, "music": 32, "must": [0, 2, 7, 8, 10, 11, 25, 26, 28, 36], "mutabl": 6, "my": [10, 15, 32], "my_first_vari": 6, "myself": 32, "myst": 0, "mysteri": 15, "m\u00e5de": 15, "n": [2, 4, 6, 7, 9, 10, 15, 32], "name": [5, 7, 8, 17, 18, 23, 27, 29, 30, 31, 33, 34, 36], "nameerror": [6, 8, 10, 32], "nan": [29, 30, 31, 33, 34, 36], "narrow": 15, "nasser": [31, 33], "navig": [16, 22, 25], "nby": 15, "ndigit": 8, "necess": 15, "necessari": [7, 26], "necessarili": 7, "need": [3, 5, 6, 7, 8, 9, 10, 11, 15, 17, 20, 21, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 36], "neg": [6, 8, 9, 11, 17], "negat": 5, "neither": 8, "nest": [6, 10], "neurosci": 2, "never": 11, "new": [6, 7, 8, 9, 10, 11, 12, 15, 17, 23, 24, 25, 32], "new_df": 30, "new_vari": 32, "newer": 23, "newest": [25, 28], "next": [5, 8, 9, 15, 23, 24, 25, 34], "nichola": [31, 33], "ning": 15, "non": [9, 15, 30, 31, 36], "none": [8, 9, 25, 30], "nor": [15, 32], "normal": [7, 8, 10], "north": 15, "norton": [31, 33, 36], "notat": 31, "note": [0, 2, 5, 6, 7, 8, 24, 32, 33], "notebook": [1, 2, 6, 7, 11, 12, 15, 22, 23, 24, 25, 27, 28, 30, 32, 36], "noth": 8, "notic": [5, 6, 10, 25], "notna": [31, 36], "now": [5, 6, 8, 9, 11, 25, 28, 29, 30, 31, 32], "np": [4, 34], "null": [30, 31, 36], "num_as_float": 7, "num_as_int": 7, "num_as_str": 7, "num_class": 7, "num_per_class": 7, "num_stud": 7, "number": [5, 6, 8, 9, 10, 15, 17, 18, 25, 29, 30, 31, 32, 36], "number_of_desired_word": 32, "numer": [5, 18, 34], "numeric_onli": 34, "numpi": 4, "nurs": 15, "o": [9, 15, 25, 30], "o2": [30, 31, 33, 34, 36], "obei": 6, "object": [17, 18, 29, 30, 31, 33, 36], "object_nam": 9, "obtain": 29, "obviou": 0, "oc": 6, "occur": [7, 8, 23], "occurr": 15, "ocean": 15, "odiou": 15, "off": [2, 3, 8, 25], "offer": [1, 27, 31, 33, 36], "offic": [17, 33], "offici": [1, 11, 22, 27, 33, 34], "often": [0, 5, 7, 10, 15, 18, 28, 32], "og": 15, "oh": 15, "ok": 32, "old": [6, 9, 29], "older": 25, "om": 15, "omit": 8, "onc": [6, 9, 10, 17, 25, 32], "one": [2, 5, 6, 7, 8, 9, 10, 11, 15, 17, 24, 25, 28, 29, 32], "ones": [11, 30], "onli": [5, 6, 9, 11, 15, 23, 25, 28, 29, 30, 31, 32, 33, 34, 36], "onlin": [8, 15, 19, 20, 21], "open": [11, 15, 22, 24, 26, 32], "oper": [6, 8, 9, 10, 11, 18, 28, 29, 30, 32, 33, 36], "operand": [5, 7, 17], "opportun": 13, "opposit": [5, 17], "opreat": 5, "opt": 32, "optim": 36, "option": [0, 5, 23, 25, 28, 30], "optr\u00e6der": 15, "oq": [31, 36], "ord": 15, "orden": 15, "order": [5, 6, 8, 9, 10, 24, 25, 29], "org": [0, 2, 15, 25], "organ": [6, 22, 23, 24, 29], "origin": [6, 9, 10, 11, 17, 18, 31, 32, 36], "ork": 30, "other": [1, 3, 6, 7, 8, 9, 10, 15, 17, 19, 20, 21, 23, 24, 25, 26, 27, 28, 30, 32, 33], "otherwis": [5, 8, 10, 11], "oticaps": 9, "our": [1, 6, 10, 12, 13, 15, 17, 19, 25, 26, 27, 28, 32, 34], "ourselv": [28, 32], "out": [1, 4, 5, 6, 7, 8, 9, 10, 11, 15, 25, 27, 30, 32], "outer": [8, 31, 36], "output": [3, 5, 6, 7, 8, 9, 11, 17, 24, 25, 29, 32], "outsid": [6, 11, 32], "over": [10, 11, 21, 25, 32], "overlook": 0, "overview": [2, 5, 30], "overwrit": [6, 10], "overwritten": [9, 10], "owen": [30, 31, 33, 34, 36], "own": [6, 9, 11, 12, 20, 21, 31, 32, 33], "p": [10, 30], "pacif": 15, "packag": [25, 28, 32], "page": [1, 2, 3, 10, 11, 15, 20, 21, 25, 26, 27, 30], "pages_read": 10, "pages_remain": 10, "pages_written": 11, "pain": 10, "palsson": [31, 33, 36], "panda": [1, 16, 17, 26, 27, 35], "paper": 11, "paramet": [17, 29, 30], "parch": [30, 31, 33, 34, 36], "parent": 23, "parenthes": [6, 8, 11, 24, 29, 36], "parrish": 31, "parser": 0, "part": [1, 6, 7, 9, 17, 26, 27, 31, 33], "parti": 25, "particip": 13, "particular": [9, 17, 18], "particularli": [24, 33, 36], "partli": 15, "paslei": 2, "pass": [6, 8, 17, 34], "passeng": [30, 34, 36], "passengerid": [30, 31, 33, 34, 36], "past": [11, 23], "path": [3, 19, 23], "pathwai": 25, "patient": 21, "patrick": [30, 31, 33, 34, 36], "pattern": [10, 15, 34], "pc": [25, 30, 31, 33, 34, 36], "pclass": [30, 31, 33, 34, 36], "pd": [28, 30, 31, 33, 34, 36], "pdf": [1, 27], "peel": [30, 31, 33, 34, 36], "peopl": [6, 7, 8, 25, 28, 32], "per": [7, 34], "percentag": 5, "perfect": 7, "perfectli": 11, "perform": [6, 7, 11, 15, 17, 24, 31, 33, 36], "perhap": 25, "period": [7, 15], "perkin": 32, "persist": 10, "person": [6, 8], "perspect": 27, "petersburgh": 15, "pg84": 15, "philosoph": 9, "phrase": 15, "pick": 32, "pictur": 15, "piec": 17, "pig": 10, "ping": 8, "pip": 28, "pip3": 25, "pitfal": [0, 31], "place": [5, 8, 9, 15, 19, 30, 31], "placement": 10, "plain": [15, 18], "plank": 33, "platform": 19, "pleas": [1, 12, 27], "plot": 4, "plt": 4, "plu": [7, 15, 24], "point": [15, 17, 18, 25, 32], "pointer": 8, "poor": [8, 15], "poorli": 32, "pop": [9, 25], "popular": 19, "portion": [5, 9, 18], "portrait": 15, "posit": [5, 6, 9, 11, 15, 17, 29, 33, 36], "possess": 13, "possibl": [15, 17, 25], "possibli": 7, "post": [4, 11], "potenti": [0, 18, 31, 36], "potter": [31, 33, 36], "pow": 5, "power": [2, 5, 31, 33, 34], "powershel": 23, "practic": [6, 24], "pre": 17, "preced": [11, 15], "precis": [6, 8, 17, 31, 32], "predefin": 34, "predict": [2, 8, 25], "prefer": 24, "preinstal": 25, "prepar": 13, "presenc": [3, 31], "present": [1, 27, 36], "preserv": 15, "press": [11, 23, 24, 25], "pressur": [11, 30], "presumpt": 15, "prevent": 7, "preview": 9, "previou": [6, 10, 15, 31, 34, 36], "price": [29, 34], "primari": [19, 20], "print": [3, 7, 8, 9, 10, 15, 17, 20, 21], "printout": 6, "prior": 21, "privat": 25, "probabl": [6, 32], "problem": [0, 7, 8, 10], "problemat": 8, "process": [5, 11, 15, 16, 17, 25], "produc": [8, 9, 10], "product": 5, "program": [5, 6, 7, 8, 9, 10, 16, 17, 19, 25, 32], "progress": [15, 23], "project": [6, 11, 15, 20, 21, 23], "prometheu": 15, "promis": [6, 15, 32], "prompt": [23, 28], "proof": 15, "prop_cycl": 4, "proper": [1, 27], "properli": [2, 10, 11, 32], "properti": [5, 18, 31, 33, 36], "proverbi": [1, 27], "provid": [6, 11, 17, 18, 22, 23, 25, 26, 28, 29, 30, 31, 33, 34, 36], "pseudocod": 11, "puberti": 32, "punctuat": [6, 8, 32], "punktum": 15, "pure": [33, 36], "purpos": [2, 8], "put": [6, 15, 32], "pwd": 30, "py": 32, "pyplot": 4, "python": [1, 5, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 23, 26, 27, 28, 29, 30, 31, 32, 36], "python3": [25, 32], "python_regex": 15, "p\u00e5": 15, "q": [30, 31, 33, 34, 36], "queri": 7, "question": [5, 6, 7, 8, 9, 10, 11], "quick": [24, 30], "quickli": [24, 32], "quit": 11, "quot": [7, 10, 24], "quotat": [6, 7, 8, 17], "quotient": 5, "r": 15, "rae": 32, "rain": 15, "rais": 32, "ramsai": 2, "randint": 11, "randn": 4, "random": [4, 11], "rang": [4, 5, 9, 11, 17, 33, 36], "rangeindex": [30, 31, 36], "rapidli": 15, "rare": 9, "rate": 29, "rather": [6, 9, 10, 31, 33], "raw_text": 15, "rcparam": 4, "re": [11, 15, 25, 31], "reach": 10, "read": [6, 7, 8, 10, 11, 17, 25, 27, 28, 31, 32, 33, 34, 35, 36], "read_": 30, "read_csv": [30, 31, 33, 34, 36], "read_excel": 30, "readabl": [6, 32, 33], "reader": [0, 11, 28], "readi": [25, 30], "readthedoc": 0, "real": [6, 11, 17, 32], "realiti": 15, "realiz": 15, "realli": 11, "realpython": 25, "rearrang": 24, "reason": [7, 8, 27, 31], "reassign": 6, "recent": [6, 7, 8, 9, 10, 23, 32], "recognit": [1, 27], "recommend": [6, 11, 25, 26, 27, 31], "recompens": 15, "rectangular": 34, "red": [6, 10], "redgreenblu": 10, "refer": [0, 2, 5, 7, 9, 11, 16, 17, 18], "reflect": [20, 23], "regard": 8, "regardless": 24, "regex101": 15, "regular": [2, 9, 11, 15, 23], "reinforc": [6, 32], "rel": [6, 15, 30], "relat": [0, 11, 15, 19, 28], "releas": 25, "relev": [6, 15], "reli": [28, 31], "reliabl": [25, 31], "remain": [7, 8, 10, 11, 15], "remaind": [5, 7], "remark": 15, "rememb": [6, 7, 8, 9, 10, 11, 12, 19, 32, 36], "remov": [9, 10, 15, 17, 25, 32], "renam": 23, "render": 2, "reopen": 6, "reorder": [10, 24], "repeat": [7, 8, 10, 17], "repeatedli": 11, "replac": [6, 10, 15, 23], "replic": 21, "report": [5, 6, 8, 9], "repres": [5, 7, 9, 17, 18, 29, 30, 31, 34, 36], "reproduc": 4, "republ": 15, "request": [15, 25], "requir": [0, 7, 8, 11, 17, 24, 25, 26, 27, 28, 29, 36], "rerun": [6, 24], "research": 25, "reserv": [6, 32], "reset": 6, "reshap": [18, 29], "resist": [6, 32], "resourc": [19, 22], "respect": [23, 25, 34, 36], "respond": 25, "ressourc": [1, 27], "rest": [3, 15], "restor": 15, "result": [5, 6, 7, 8, 9, 10, 11, 15, 30, 31, 32, 34, 36], "retain": 10, "rethink": 6, "retreat": 15, "retriev": 15, "return": [5, 7, 9, 11, 15, 17, 25, 29, 30, 31, 32, 33, 34, 36], "reusabl": 17, "reuss": 15, "rev": [30, 31, 33, 34, 36], "reveal": [20, 21], "revers": 9, "revert": 23, "review": [12, 15, 27], "rewrit": 33, "rgb": 10, "rice": [31, 33, 36], "rich": 8, "richard": [31, 33, 36], "rid": 15, "right": [5, 6, 7, 9, 15, 21, 23, 25], "rint": 30, "rise": 15, "risk": 0, "robert": [2, 15], "robust": 36, "rock": 15, "roman": 15, "romeo": 9, "room": 9, "root": 25, "row": [7, 18, 29, 30, 34], "rule": [6, 8, 11, 17], "run": [1, 3, 5, 6, 8, 10, 11, 12, 20, 21, 22, 23, 26, 27, 28, 30, 32], "runtim": [9, 10], "russia": 15, "russian": 15, "rut": 33, "sa": 15, "safe": [9, 31], "sai": [6, 7, 15, 25], "sake": 32, "salli": [31, 33, 36], "same": [2, 5, 6, 8, 9, 11, 21, 24, 29, 30, 31, 32, 33, 34], "sampl": 4, "samuel": 31, "san": 15, "sandstrom": 33, "saundercock": 33, "save": [22, 23, 25, 30], "savil": 15, "scenario": [9, 31, 33, 36], "scene": 15, "scienc": [6, 19], "scipt": 11, "scissor": 24, "scope": 15, "scratch": 17, "screen": 25, "script": [6, 13, 23, 28, 32], "scroll": 25, "se": 0, "sea": 15, "search": [15, 23], "season": 10, "sec": 6, "second": [5, 6, 7, 9, 10, 11, 13, 15, 23, 33], "secret": 11, "secret_numb": 11, "section": [5, 12, 22, 23, 24], "secur": 23, "see": [0, 1, 2, 3, 4, 6, 7, 8, 9, 12, 15, 17, 20, 21, 23, 24, 25, 28, 29, 30, 31, 32, 34], "seealso": 0, "seed": 4, "seem": [5, 16, 17], "seen": [6, 8, 31, 33, 36], "select": [6, 9, 18, 23, 24, 25, 29, 30, 34], "selector": 31, "self": [6, 8, 25], "sell": 25, "semant": 27, "semest": 7, "sens": [5, 6, 7, 8, 15, 25, 34], "sensit": 25, "sentenc": 8, "separ": [6, 7, 9, 18, 28, 30, 36], "sequenc": [5, 10, 17, 18, 32], "seri": [6, 17, 25], "seriou": 0, "serv": 2, "servant": 15, "server": 23, "servic": [21, 23], "session": 25, "set": [5, 6, 7, 9, 10, 11, 15, 17, 18, 23, 24, 25, 26, 29, 30, 32], "set_opt": 30, "settingwithcopywarn": 31, "sever": [0, 11, 25, 26], "sex": [29, 30, 31, 33, 34, 36], "shakespear": 15, "shape": [18, 29, 31, 36], "share": 11, "shatter": 15, "she": [5, 32], "shell": 28, "shellei": [15, 31], "shift": [23, 24, 27], "short": [5, 6, 11, 13, 17, 32, 33], "shortcut": [23, 34], "shorten": 9, "should": [1, 3, 7, 10, 11, 20, 25, 27, 30, 32], "shoulder": [1, 27], "show": [2, 3, 6, 8, 10, 15, 23, 30, 32], "shown": [5, 9, 25], "shut": [8, 23], "shutdown": 23, "sibsp": [30, 31, 33, 34, 36], "side": [0, 5, 9, 25, 31], "sidebar": [20, 23], "sign": [1, 4, 6, 7, 15, 24, 27, 32], "signal": 10, "similar": [0, 2, 9, 11, 12, 29], "similarli": [31, 33], "similiar": 11, "simpl": [2, 6, 8, 9, 10, 11, 18, 26, 30, 31, 33], "simpler": [8, 32], "simpli": [10, 25, 32], "simplifi": [18, 28, 29, 33, 36], "simultan": 31, "sin": 15, "sinc": [7, 8, 11], "singl": [6, 7, 9, 17, 18, 23, 31, 32, 36], "single_lett": 10, "site": [15, 32], "situat": [8, 24], "six": 15, "size": [9, 34], "skew": 34, "skill": 11, "skip": [25, 30], "skrevet": 15, "skull": 15, "slice": [33, 36], "slight": 2, "slightli": [8, 25], "slither": 25, "sloper": 33, "slow": [9, 11, 25], "small": [2, 13, 15, 17], "smaller": [8, 11, 17], "smallest": 8, "smart": 15, "smith": 10, "smooth": 25, "sm\u00e5t": 15, "snake": 6, "so": [0, 1, 3, 5, 6, 7, 9, 10, 11, 12, 15, 17, 21, 23, 25, 26, 27, 28, 30, 32, 33], "social": 6, "softwar": [17, 25, 29], "solut": 33, "solv": [0, 6, 8, 11, 15, 25], "some": [2, 4, 5, 6, 7, 9, 10, 11, 15, 17, 19, 25, 26, 31, 32], "someon": 6, "someth": [0, 6, 10, 11, 17, 25, 29, 32], "sometim": [6, 25, 32], "song": 9, "sort": 15, "soton": [31, 36], "soul": 15, "sourc": [6, 8, 20, 21, 27, 30], "southern": 15, "sp": 32, "space": [5, 6, 10, 11, 15, 17, 23, 25, 32], "span": 2, "special": [0, 2, 5, 6, 8, 15, 18, 31, 33, 36], "specif": [2, 7, 9, 11, 17, 18, 23, 30, 33, 34], "specifi": [5, 8, 9, 10, 17, 29, 30, 33, 36], "speed": [11, 33], "spell": 8, "sphinx": 2, "split": [32, 34], "split_into_word": 32, "split_word": 32, "spoke": 8, "spotlight": 23, "spreadsheet": [7, 29, 30], "spring": 10, "squar": [5, 6, 7, 9, 24, 31, 33], "ssl": 25, "st": 15, "stabl": 0, "stackoverflow": 19, "staff": 25, "stai": 11, "stand": [1, 2, 15, 17, 18, 27], "standard": [0, 6, 7], "start": [0, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 23, 26, 29, 31, 32, 33], "starter": 2, "state": [4, 5, 10, 23, 24], "statement": [6, 8, 9, 18, 28, 29, 33, 36], "statist": 35, "std": 34, "steadi": 15, "steder": 15, "step": [10, 11, 24, 34], "still": [6, 7, 10, 28], "stitch": 15, "stoker": 32, "ston": [30, 31, 33, 34, 36], "stone": [9, 32], "stop": [5, 6, 9, 11, 15, 17, 23], "stopword": 32, "storag": [6, 9], "store": [2, 7, 9, 17, 18, 25, 29, 30, 32], "stori": 15, "storm": 15, "stort": 15, "str": [5, 7, 8, 9], "straightforward": [33, 36], "strang": 15, "strengthen": [6, 32], "stride": 9, "string": [11, 15, 29, 30], "strip": 15, "strong": [11, 15], "strongli": 10, "structur": [2, 9, 11, 17, 18, 29, 34], "student": [1, 25, 26], "stuff": 25, "style": 0, "subfold": 30, "subplot": 4, "subscript": 6, "subselect": 34, "subsequ": 23, "subset": [30, 33, 34, 35], "substr": 5, "subtract": [8, 17], "succesfulli": 25, "success": 24, "suddenli": 15, "suggest": [0, 19, 20, 21], "sum": [5, 30], "summari": [30, 33, 35], "summer": 10, "sundai": 15, "super": 15, "support": [3, 8, 9, 30, 34], "suppos": 11, "sure": [1, 4, 11, 25, 26, 27, 28, 32], "surround": [5, 17, 36], "surveil": 25, "surviv": [30, 31, 33, 34, 36], "sutehal": [31, 36], "sw": 32, "swap": [18, 29], "sweat": 11, "switz": 15, "symbol": [6, 15, 17], "syntax": [0, 2, 5, 9, 18, 28, 29, 31, 32, 33], "syntaxerror": [8, 32], "syntaxwarn": 32, "system": [11, 25], "s\u00e5": [0, 15], "t": [2, 4, 5, 6, 7, 8, 9, 11, 15, 16, 25, 32], "tab": [10, 11, 17, 23, 25], "tabl": [6, 10, 18, 34, 36], "tabular": [18, 35], "take": [0, 5, 6, 8, 9, 10, 11, 13, 15, 17, 21, 25], "taken": 11, "tale": 15, "talk": 6, "tap": 23, "task": [10, 15, 17, 24, 31, 33, 36], "taught": 7, "teach": [1, 7, 15, 27], "technic": [25, 31, 33], "technologi": 19, "tediou": 25, "tekstern": 15, "tell": [5, 8, 10, 25, 36], "temperatur": 9, "temperature_001": 9, "temperature_002": 9, "temporari": 6, "tempt": [6, 32], "temptat": [6, 32], "ten": 7, "tendenc": 15, "term": [6, 8, 9, 15, 16, 25], "termin": [23, 28], "terminologi": 16, "terribl": 15, "test": [7, 15], "tester": 15, "tex": 4, "text": [2, 3, 5, 6, 7, 15, 17, 18, 23, 24, 29, 32], "text_end": 15, "text_start": 15, "th": [15, 30, 31, 33, 34, 36], "than": [5, 6, 7, 8, 10, 11, 25, 30, 31, 32, 33, 36], "thank": [1, 27], "thei": [2, 5, 7, 8, 9, 10, 11, 15, 25, 31, 32, 33, 36], "theirs": 32, "them": [5, 6, 8, 9, 10, 11, 12, 17, 23, 24, 25, 26, 31, 32, 33], "themselv": 32, "therefor": [5, 9, 34], "thermomet": 9, "thi": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 15, 16, 17, 18, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 34, 36], "thing": [3, 5, 6, 10, 11, 15, 19], "think": [6, 7, 10, 17, 20, 31, 32], "third": [7, 9, 10, 25], "thoma": [15, 31, 33, 36], "thompson": 33, "those": [2, 6, 31, 32, 33], "though": [5, 28, 30, 32], "three": [6, 7, 20, 25, 29, 30], "threshold": 36, "through": [10, 11, 12, 16, 22, 25, 28, 31, 32], "throw": 7, "thu": [5, 6, 8, 9, 11], "thunderstorm": 15, "thursdai": 15, "ti": 9, "ticket": [30, 31, 33, 34, 36], "till": 11, "time": [1, 5, 7, 9, 10, 11, 15, 17, 23, 25, 27, 31, 34], "timothi": [31, 33, 36], "tin": [8, 9], "tini": [6, 32], "tip": [0, 22, 24], "tire": [6, 32], "titan": [31, 33, 34, 36], "titl": 29, "tjekk": 15, "tmp": 32, "to_": 30, "to_excel": 30, "todai": 15, "togeth": [1, 5, 9, 15, 17, 25, 27, 28, 34], "toggl": 20, "too": [6, 11, 30, 32], "took": 11, "tool": [2, 15, 17, 25, 31, 33, 36], "toolbar": [20, 21, 23, 24], "top": [3, 11, 20, 21, 23, 24, 28], "topic": 13, "torborg": 33, "torpor": 15, "tot_sec": 6, "total": [10, 30, 31, 36], "total_second": 6, "tow": 15, "trace": [6, 8, 11], "traceback": [6, 7, 8, 9, 10, 32], "track": 10, "trackpad": 23, "tradit": 7, "train": 30, "travers": 9, "treat": [3, 5, 6], "trigger": 31, "troubl": [19, 25], "true": [5, 6, 15, 17, 30, 31, 32, 34, 36], "true_upper_cas": 15, "truncat": 30, "truth": [5, 17], "try": [6, 7, 8, 10, 11, 15, 25, 27], "tupl": [29, 30, 31, 36], "turk": 15, "turkish": 15, "turn": [11, 24, 33], "tutori": 34, "twice": [8, 15, 24], "two": [1, 2, 3, 5, 7, 8, 9, 11, 15, 17, 23, 24, 25, 27, 29, 30, 31, 34, 36], "txt": [15, 32], "type": [0, 6, 8, 10, 11, 12, 18, 23, 24, 25, 29, 30, 31, 34, 36], "typecast": 7, "typeerror": [6, 7, 8, 9], "typic": [0, 6, 8, 15, 17, 18, 29, 34], "u": [1, 6, 8, 11, 15, 20, 27, 30, 36], "ucph": 17, "unchang": [5, 17], "uncheck": 24, "uncl": 15, "unclear": 32, "uncouth": 15, "undefin": 18, "under": [12, 15, 23, 25, 32], "underneath": 5, "underscor": [6, 15, 32], "understand": [0, 3, 5, 6, 8, 10, 11, 13, 15, 16, 17, 22, 26, 30, 32], "undo": 23, "unexpect": [8, 10, 11, 31], "unfamiliar": 16, "unintend": 31, "uniqu": 18, "univers": [1, 5, 25, 26, 27], "unknown": 30, "unlik": [6, 25], "unlimit": 15, "unnest": [10, 11], "unreason": 7, "unsupport": 7, "unsur": 23, "untermin": 8, "until": [6, 8, 10, 11, 15, 17, 25, 32], "up": [1, 5, 7, 8, 9, 10, 11, 24, 25, 27, 32, 33], "updat": [7, 10, 25, 28, 29], "upload": [23, 25], "upper": [6, 8, 32], "upper_case_word": 15, "uppercas": 15, "upward": 24, "urg": 25, "url": [15, 23], "urllib": 15, "urlopen": 15, "us": [0, 2, 3, 5, 8, 9, 12, 15, 17, 18, 19, 22, 23, 24, 26, 28, 29, 30, 32, 34, 36], "usag": [31, 36], "user": [11, 22, 25], "user_guess": 11, "user_input": 11, "usual": [6, 7, 8, 11, 17, 34], "utf": [15, 32], "util": [23, 25], "uw": 21, "u\u00e6gt": 15, "vagabond": 15, "valid": 36, "valu": [5, 10, 11, 17, 18, 29, 32, 33, 34, 36], "valuabl": 7, "value_count": 34, "valueerror": [7, 32], "vand": 33, "vander": [31, 33, 36], "vari": [5, 8], "variabl": [5, 8, 9, 11, 12, 25, 30, 34], "variat": 2, "variou": [8, 11, 24, 29], "ve": [15, 16, 31, 32], "ved": 15, "verbos": 33, "veri": [0, 10, 12, 15, 29, 30, 32], "versatil": 36, "version": [15, 21, 23, 28], "versu": 34, "vestrom": 33, "via": 28, "victor": [31, 33, 36], "video": 33, "view": [7, 23, 29, 30], "vil": 15, "villag": 15, "violat": 8, "violent": 15, "vise": 0, "visit": [1, 8, 22, 27], "v\u00e6re": 15, "w": [30, 31, 32, 33, 34, 36], "w3school": 15, "wa": [9, 10, 15, 20, 21, 23, 27, 32], "wai": [5, 6, 7, 8, 11, 12, 15, 17, 18, 26, 27, 28, 29, 31, 33], "walk": 25, "wallpap": 32, "wallpaper_charlott": 32, "walsh": [1, 7, 27], "walton": 15, "want": [4, 6, 8, 10, 11, 15, 23, 24, 25, 28, 30, 31, 32, 33], "warn": [0, 31], "watch": 15, "wauw": 11, "we": [1, 5, 6, 7, 8, 9, 10, 11, 12, 15, 16, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36], "wear": [6, 32], "web": [19, 23], "webpag": 20, "websit": [15, 19, 25], "week": 15, "welcom": [11, 26], "well": [1, 4, 6, 7, 8, 13, 25, 27, 32, 34], "wendi": 2, "were": [6, 10, 11, 15, 25, 32], "whale": 10, "what": [5, 6, 10, 15, 17, 20, 25, 32, 33, 34, 36], "when": [2, 3, 6, 9, 10, 15, 16, 17, 19, 23, 24, 25, 28, 29, 32, 36], "whenev": 16, "where": [0, 6, 7, 8, 9, 10, 11, 15, 17, 18, 23, 24, 25, 28, 29, 30, 31, 32, 33, 36], "wherea": [2, 29, 31, 34, 36], "whether": [2, 5, 17, 22, 24, 25, 29, 30, 31], "which": [3, 5, 6, 7, 8, 9, 10, 11, 12, 15, 17, 24, 25, 28, 29, 30, 31, 32, 36], "while": [5, 6, 8, 9, 15, 17, 23, 24, 25, 29, 31, 32, 33], "white": 15, "who": [6, 25, 32], "whole": [5, 7, 9, 10, 15, 17, 30], "whom": 32, "whose": [1, 15, 17, 27, 30], "why": [5, 6, 7, 9, 15, 31, 32], "wide": [18, 28, 29, 33], "widespread": 15, "widow": 15, "wikipedia": 27, "wil": 7, "william": [30, 31, 33, 34, 36], "wilson": [31, 33, 36], "win": 25, "window": [24, 28], "winter": 10, "wise": 36, "wish": [25, 26], "within": [9, 11, 17, 23, 24, 29, 30, 31, 34], "without": [6, 9, 10, 11, 17, 21, 24, 29, 30, 31], "wizoski": 31, "wollstonecraft": 15, "women_louisa": 32, "won": [6, 32], "wonder": 5, "wonderland_lewi": 32, "word": [6, 8, 10, 15, 30, 32], "work": [1, 4, 5, 6, 7, 11, 12, 15, 17, 20, 21, 22, 23, 24, 25, 26, 27, 28, 31, 32], "workbook": 32, "workflow": [22, 24], "workshop": 15, "workspac": 22, "world": [7, 8, 17], "worri": [6, 25, 30, 32], "would": [0, 5, 6, 7, 9, 10, 11, 20, 21, 29, 32], "wrap": [6, 24, 27], "wreck": 15, "wretch": 15, "write": [0, 2, 3, 6, 7, 8, 9, 10, 11, 13, 15, 17, 24, 25, 31, 35], "written": [2, 3, 7, 11, 15, 17, 30], "wrong": [8, 11], "www": 15, "x": [5, 6, 9, 17, 25], "x64": 32, "xlsx": 30, "y": [5, 6, 9, 15], "year": [6, 7], "yellow": 32, "yesterdai": 15, "yet": [6, 16], "you": [0, 1, 2, 3, 4, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 27, 28, 29, 30, 31, 32, 33, 36], "your": [1, 2, 3, 4, 5, 6, 8, 10, 11, 12, 15, 17, 19, 20, 21, 22, 23, 24, 26, 27, 30, 31], "your_chosen_vari": 32, "your_vari": 7, "yourself": [6, 32], "yourselv": 32, "z": [8, 32], "zero": [5, 7, 8, 9, 10, 11, 17, 24], "zeroth": 9, "\u00e6gte": 15}, "titles": ["Admonition Boxes", "Welcome", "Markdown Files", "Notebooks with MyST Markdown", "Content with notebooks", "Data Types", "Variables and Assignment", "Data Types and Type Conversion", "Built-in Functions and Help", "Lists", "For Loops", "Conditionals", "Part 1", "Part 2", "2024 Open Data Science", "RegEx and Frankenstein", "Learn All the New Words", "Dictionary for Absolute Beginners", "Dictionary for Pandas", "Get Help and Find Documentation", "Interact With This Book", "How to Interact With This Book", "Get Started with JupyterLab", "Open and Navigate JupyterLab", "Code in JupyterLab", "Install & Run Python", "Sign Up for a Course", "Welcome", "Getting Started with Pandas", "Pandas DataFrame", "Read and Write Tabular Data", "Subsets", "Variables", "loc and iloc", "Summary Statistics", "Getting Started with Data Analysis", "Subsets"], "titleterms": {"1": [6, 7, 8, 9, 10, 11, 12, 23, 25], "2": [6, 7, 8, 9, 10, 11, 13, 23, 25], "2024": 14, "3": [6, 7, 8, 9, 10, 11, 25], "4": [6, 7, 8, 9, 10, 11], "5": [6, 7, 9, 10], "6": [7, 9, 10], "7": [9, 10], "8": 9, "A": [11, 15, 30, 36], "For": [10, 23], "The": [5, 8, 11], "To": 32, "With": [20, 21], "about": [26, 33], "abov": 11, "absolut": 17, "accumul": 10, "ad": 7, "add": [3, 25], "addit": 11, "admonit": 0, "aggreg": 34, "all": 16, "along": 15, "alt": 0, "ambigu": 31, "an": [0, 3, 11], "analys": 11, "analysi": 35, "andetst": 0, "anoth": 25, "append": [9, 17, 29], "appl": [23, 25], "ar": [6, 9, 11, 26, 31], "argument": [8, 17], "aria": [1, 20, 21, 23, 25, 27], "arithmet": 17, "assign": [6, 7, 17, 32], "attend": 26, "attribut": [1, 18, 27, 29], "auto": 24, "automat": 7, "avoid": 31, "b": 15, "back": 9, "bar": 20, "base": [29, 31, 36], "befor": [6, 26], "beginn": 17, "between": [6, 9], "beyond": 9, "blank": [9, 10, 11], "block": [4, 11], "book": [0, 20, 21], "boolean": [5, 17], "both": [23, 25], "box": 0, "bracket": [15, 24, 36], "built": [5, 8], "calcul": 6, "call": [31, 36], "can": [5, 6, 7], "case": 6, "categor": 34, "categori": 34, "cell": [3, 6, 24], "certain": 8, "chang": [7, 9], "charact": [8, 9], "check": 25, "choos": [6, 7, 32], "citat": 2, "class": [0, 1, 6, 7, 8, 9, 10, 11, 20, 21, 23, 25, 27, 29, 30], "classifi": 10, "click": [20, 21, 25], "close": 24, "cloud": 21, "code": [4, 5, 11, 20, 21, 24], "colab": 25, "column": [29, 30, 31, 33, 36], "combin": [31, 33], "command": 24, "comment": [8, 17], "common": [0, 1, 23, 27], "comparison": 5, "complex": 31, "compound": 11, "concaten": [5, 17], "condit": [11, 17, 31, 36], "contain": 9, "content": [4, 12, 13, 16, 22, 35], "control": [7, 11], "convent": 6, "convers": 7, "copi": 9, "correctli": 25, "count": 34, "cours": 26, "creat": [3, 6, 24, 29, 30, 31, 33, 34, 36], "creativ": [1, 27], "csv": [18, 30, 31, 33, 34, 36], "cumul": 10, "curli": 15, "current": 30, "data": [5, 7, 9, 14, 17, 29, 30, 34, 35], "datafram": [18, 29, 30, 31, 33, 34, 36], "deal": 7, "default": 8, "delet": [9, 24], "den": 0, "dereft": 0, "descript": 34, "develop": 17, "dice": 11, "dictionari": [17, 18, 29], "did": 25, "differ": [7, 8, 9], "direct": 2, "directori": [23, 30], "displai": [6, 32], "divis": 7, "do": 7, "document": [8, 17, 19], "doe": 11, "doubl": 5, "doubt": 26, "download": [20, 21, 25, 30], "dtype": 30, "edit": 24, "elif": 11, "els": 11, "empti": 9, "end": 9, "environ": 17, "equal": 5, "er": 0, "erda": 25, "error": [8, 10], "everi": 8, "exactli": 31, "exampl": [0, 3, 11], "excel": 30, "exclus": 31, "execut": [10, 11], "exercis": [6, 7, 8, 9, 10, 11, 29, 30], "exist": 29, "expand": [20, 21], "expon": 5, "express": [31, 36], "fa": [1, 6, 7, 8, 9, 10, 11, 20, 21, 23, 25, 27, 29, 30], "fab": [1, 20, 21, 23, 25, 27], "file": [2, 15, 23, 30, 31, 32, 33, 34, 36], "fill": [9, 10, 11], "filter": [30, 31, 36], "find": [6, 19], "first": 29, "float": [5, 7, 17], "fra": 0, "frankenstein": 15, "freeli": 7, "from": [9, 28, 30, 31, 32, 33, 34, 36], "full": [20, 21], "function": [5, 8, 11, 17], "fundet": 0, "f\u00f8lger": 0, "f\u00f8rst": 0, "game": 11, "geeksforgeek": 19, "get": [6, 19, 22, 25, 28, 30, 35], "github": [20, 21], "good": 32, "googl": 25, "group": 34, "groupbi": 34, "guess": 11, "handl": 31, "happen": 8, "have": [5, 7, 8], "head": 30, "help": [8, 19], "her": 0, "herund": 0, "hidden": [1, 20, 21, 23, 25, 27], "how": [5, 9, 10, 21, 25], "i": [0, 1, 2, 6, 7, 8, 9, 10, 11, 20, 21, 23, 25, 27, 29, 30], "id": 17, "identifi": 10, "iloc": [31, 33], "immut": [9, 17], "impact": 11, "import": [28, 29, 30, 31, 33, 34, 36], "inclus": 31, "indent": 17, "index": [5, 6, 9, 17, 18, 31, 36], "infinit": 11, "info": 30, "inform": [30, 33], "input": 11, "insid": [5, 11], "instal": [25, 28], "integ": [5, 6, 7, 17], "integr": 17, "interact": [20, 21], "introduc": 31, "isna": 30, "issu": [20, 21], "item": [9, 10], "jupyt": [0, 20, 21, 32], "jupyterlab": [22, 23, 24, 25], "kei": [5, 6, 7, 8, 9, 10, 11, 29, 30, 31, 34, 36], "kernel": 24, "keyboard": 24, "kind": 7, "kode": 0, "larg": 9, "last": 8, "learn": [2, 5, 6, 7, 8, 9, 10, 11, 16], "length": [6, 7], "librari": 17, "limit": [6, 32], "list": [9, 15, 32], "loc": [31, 33], "look": 25, "loop": [10, 11, 17], "mac": 25, "maco": [23, 25], "mai": 9, "make": [20, 21], "manag": 24, "mark": [5, 15], "markdown": [0, 2, 3, 4], "mathemat": 5, "max": 8, "meaning": 6, "media": 11, "memori": 30, "messag": 8, "metacharact": 15, "metadata": 3, "method": [5, 9, 25], "min": 8, "miss": 31, "mix": 7, "mode": 24, "modulenotfounderror": 28, "modulu": 5, "more": [2, 15, 33], "move": 24, "multipl": [5, 10, 31, 36], "must": 6, "mutabl": [9, 17], "my": 0, "myst": [2, 3, 4], "name": [6, 10, 32], "nan": 18, "navig": 23, "new": [16, 29], "note": [11, 30, 36], "notebook": [3, 4, 20, 21], "notic": [9, 11], "notna": 30, "number": [7, 11, 34], "object": [5, 6, 7, 8, 9, 10, 11], "off": [6, 32], "offici": [19, 25], "often": 11, "onc": 11, "onli": [7, 8], "open": [14, 20, 21, 23, 25], "oper": [5, 7, 17, 31, 34], "option": 24, "order": 11, "our": 29, "output": [4, 20, 21], "overwrit": 9, "own": 29, "panda": [18, 19, 28, 29, 30, 31, 33, 34, 36], "part": [12, 13], "path": 25, "pd": [18, 29], "pdf": [20, 21], "pencil": [6, 7, 8, 9, 10, 11, 29, 30], "persist": 6, "pip": 25, "pipe": 15, "plai": 20, "point": [5, 6, 7, 8, 9, 10, 11, 29, 30, 31, 34, 36], "posit": 31, "powershel": 25, "predict": 6, "print": [6, 11, 32], "problem": 11, "program": 11, "pypi": 28, "python": [6, 19, 25], "question": 15, "quickli": 3, "quotat": 5, "rang": 10, "rather": 25, "re": 32, "read": [15, 30], "recap": 7, "record": 34, "regex": 15, "renam": 29, "rendered": 0, "replac": 9, "represent": 29, "restart": 24, "return": 8, "revers": 10, "rocket": 21, "role": 2, "round": 8, "row": [31, 33, 36], "run": [24, 25], "runtim": 8, "sampl": 2, "scienc": 14, "screen": [20, 21], "script": 11, "select": [31, 33, 36], "sensit": 6, "seri": [18, 29, 31, 36], "shape": 30, "shortcut": 24, "show": [20, 21], "sign": [5, 26], "simplest": 25, "singl": 5, "slice": [5, 6, 9, 17, 31], "social": 11, "solid": [6, 7, 8, 9, 10, 11, 29, 30], "solut": [6, 7, 8, 9, 10, 11, 29, 30], "some": 8, "someth": [7, 8], "sort": 9, "specif": [31, 36], "specifi": 11, "spot": 8, "squar": [15, 36], "start": [22, 25, 28, 35], "statement": [10, 11, 17], "statist": 34, "step": [9, 23, 25], "store": 6, "string": [5, 6, 7, 8, 9, 10, 17], "strive": 32, "structur": 10, "student": 7, "subset": [18, 31, 36], "substr": 6, "sum": 10, "summari": [31, 34], "swap": 6, "syntax": [8, 10, 11, 17], "system": 23, "tabl": [5, 9, 29], "tabular": 30, "tail": 30, "termin": 25, "test": [0, 11], "thei": 6, "them": 7, "thi": [0, 11, 20, 21], "through": 9, "til": 0, "ting": 0, "tip": 23, "titan": 30, "titl": 0, "todo": 0, "trace": 10, "transpos": [18, 29], "true": [1, 11, 20, 21, 23, 25, 27], "turn": 32, "type": [5, 7, 9, 17], "up": 26, "upgrad": 28, "us": [6, 7, 10, 11, 25, 31, 33], "usag": 30, "user": 23, "v": [24, 31, 32], "valu": [6, 7, 8, 9, 30, 31], "variabl": [6, 7, 10, 17, 32], "version": [0, 25], "w": 15, "w3school": 19, "wa": 25, "wai": 25, "welcom": [1, 27], "well": 15, "what": [2, 7, 8, 9, 11, 31], "when": [7, 8, 11, 31, 33], "whether": 11, "which": 26, "while": 11, "why": [8, 29], "wider": 32, "window": [23, 25], "word": 16, "work": [8, 9, 10, 30], "workspac": 20, "would": 25, "write": 30, "yaml": 3, "you": [5, 6, 25, 26], "your": [25, 32], "z": 15}}) \ No newline at end of file +Search.setIndex({"alltitles": {"2024 Open Data Science": [[14, null]], " Download Jupyter Notebook": [[21, "download-jupyter-notebook"]], " Download PDF": [[21, "download-pdf"]], " Open Jupyter Notebook in the Cloud": [[21, "open-jupyter-notebook-in-the-cloud"]], " Exercise 4: The number guessing game": [[11, "exercise-4-the-number-guessing-game"]], " Exercise": [[29, "exercise"], [30, "exercise"]], " Exercise 1: Choosing a name": [[6, "exercise-1-choosing-a-name"]], " Exercise 1: Classifying errors": [[10, "exercise-1-classifying-errors"]], " Exercise 1: Fill in the blanks": [[9, "exercise-1-fill-in-the-blanks"]], " Exercise 1: Spot the difference": [[8, "exercise-1-spot-the-difference"]], " Exercise 1: What does this program print?": [[11, "exercise-1-what-does-this-program-print"]], " Exercise 1: What kind of data type?": [[7, "exercise-1-what-kind-of-data-type"]], " Exercise 2: Automatic type conversion": [[7, "exercise-2-automatic-type-conversion"]], " Exercise 2: Fill in the blanks": [[11, "exercise-2-fill-in-the-blanks"]], " Exercise 2: How large is a slice?": [[9, "exercise-2-how-large-is-a-slice"]], " Exercise 2: Swapping values": [[6, "exercise-2-swapping-values"]], " Exercise 2: Tracing execution": [[10, "exercise-2-tracing-execution"]], " Exercise 2: What happens when?": [[8, "exercise-2-what-happens-when"]], " Exercise 3: Choose a type": [[7, "exercise-3-choose-a-type"]], " Exercise 3: Predicting values": [[6, "exercise-3-predicting-values"]], " Exercise 3: Reversing a string": [[10, "exercise-3-reversing-a-string"]], " Exercise 3: Using the input() function": [[11, "exercise-3-using-the-input-function"]], " Exercise 3: Why not?": [[8, "exercise-3-why-not"]], " Exercise 3: Working with the end": [[9, "exercise-3-working-with-the-end"]], " Exercise 4: Can you slice integers?": [[6, "exercise-4-can-you-slice-integers"]], " Exercise 4: Fill in the blanks": [[10, "exercise-4-fill-in-the-blanks"]], " Exercise 4: Last character of a string": [[8, "exercise-4-last-character-of-a-string"]], " Exercise 4: Stepping through a list": [[9, "exercise-4-stepping-through-a-list"]], " Exercise 4: Strings to numbers": [[7, "exercise-4-strings-to-numbers"]], " Exercise 5: Adding floats and strings": [[7, "exercise-5-adding-floats-and-strings"]], " Exercise 5: Cumulative sum": [[10, "exercise-5-cumulative-sum"]], " Exercise 5: Slicing": [[6, "exercise-5-slicing"], [9, "exercise-5-slicing"]], " Exercise 6: Identifying variable name errors": [[10, "exercise-6-identifying-variable-name-errors"]], " Exercise 6: Number of students": [[7, "exercise-6-number-of-students"]], " Exercise 7: Copying (or not)": [[9, "exercise-7-copying-or-not"]], " Exercise 7: Identifying item errors": [[10, "exercise-7-identifying-item-errors"]], " Exercise 8: From strings to lists and back": [[9, "exercise-8-from-strings-to-lists-and-back"]], "Exercises 6: Sort and sorted": [[9, "exercises-6-sort-and-sorted"]], " Common tips for both macOS and Windows users": [[23, "common-tips-for-both-macos-and-windows-users"]], " JupyterLab - both Mac and Windows": [[25, "jupyterlab-both-mac-and-windows"]], " For macOS users": [[23, "for-macos-users"]], " Method 1: Mac": [[25, "method-1-mac"]], " Attribution": [[1, "attribution"], [27, "attribution"]], " Open Issue on GitHub": [[21, "open-issue-on-github"]], " Open issue on GitHub": [[20, "open-issue-on-github"]], " For Windows users": [[23, "for-windows-users"]], " Method 1: Windows": [[25, "method-1-windows"]], " Expand workspace": [[20, "expand-workspace"]], " Download Jupyter Notebook": [[20, "download-jupyter-notebook"]], " Download PDF": [[20, "download-pdf"]], " Make Full Screen": [[21, "make-full-screen"]], " Make full screen": [[20, "make-full-screen"]], " Click to show output/code": [[20, "click-to-show-output-code"]], "A note on head() and tail()": [[30, null]], "A note on square bracket indexing []": [[36, null]], "A note on the input() function": [[11, null]], "Admonition Boxes": [[0, null]], "Aggregating statistics": [[34, "aggregating-statistics"]], "Aggregating statistics grouped by category": [[34, "aggregating-statistics-grouped-by-category"]], "Alt herunder er tests fra ting fundet andetsteds": [[0, "alt-herunder-er-tests-fra-ting-fundet-andetsteds"]], "An example cell": [[3, "an-example-cell"]], "Appending": [[17, "appending"]], "Appending Series": [[29, "appending-series"]], "Appending to lists": [[9, "appending-to-lists"]], "Are you in doubt about which course to sign up for?": [[26, "are-you-in-doubt-about-which-course-to-sign-up-for"]], "Argument": [[17, "argument"]], "Arithmetic": [[17, "arithmetic"]], "Assigning Variables": [[32, "assigning-variables"]], "Assignment": [[17, "assignment"]], "Attributes": [[18, "attributes"], [29, "attributes"]], "Auto-close brackets": [[24, "auto-close-brackets"]], "Avoid ambiguous operations": [[31, null]], "Before you attend a course": [[26, "before-you-attend-a-course"]], "Boolean": [[17, "boolean"]], "Booleans": [[5, "booleans"]], "Built-in Functions and Help": [[8, null]], "Built-in data types": [[5, "built-in-data-types"]], "Built-in functions": [[8, "built-in-functions"]], "CSV": [[18, "csv"]], "Calling multiple Series": [[31, "calling-multiple-series"], [36, "calling-multiple-series"]], "Categorical data": [[34, null]], "Character strings are immutable": [[9, "character-strings-are-immutable"]], "Check your version of Python": [[25, "check-your-version-of-python"]], "Citations": [[2, "citations"]], "Click to Show Output/Code": [[21, "click-to-show-output-code"]], "Code blocks and outputs": [[4, "code-blocks-and-outputs"]], "Code in JupyterLab": [[24, null]], "Combining loc and iloc": [[31, "combining-loc-and-iloc"], [33, "combining-loc-and-iloc"]], "Command mode vs. edit mode": [[24, "command-mode-vs-edit-mode"]], "Comment": [[17, "comment"]], "Comments and documentation": [[8, "comments-and-documentation"]], "Common Classes for Admonitions in Jupyter Book": [[0, "common-classes-for-admonitions-in-jupyter-book"]], "Comparisons": [[5, "comparisons"]], "Compound statements": [[11, "compound-statements"]], "Concatenation": [[5, "concatenation"], [17, "concatenation"]], "Conditionals": [[11, null], [17, "conditionals"]], "Conditionals are often used inside loops": [[11, "conditionals-are-often-used-inside-loops"]], "Conditions are tested once, in order": [[11, "conditions-are-tested-once-in-order"]], "Content": [[12, "content"], [13, "content"], [16, "content"], [22, "content"], [35, "content"]], "Content with notebooks": [[4, null]], "Count number of records by category": [[34, "count-number-of-records-by-category"]], "Create a notebook with MyST Markdown": [[3, "create-a-notebook-with-myst-markdown"]], "Creating a DataFrame from a CSV file": [[30, "creating-a-dataframe-from-a-csv-file"], [31, "creating-a-dataframe-from-a-csv-file"], [33, "creating-a-dataframe-from-a-csv-file"], [34, "creating-a-dataframe-from-a-csv-file"], [36, "creating-a-dataframe-from-a-csv-file"]], "Creating a new column based on existing data": [[29, "creating-a-new-column-based-on-existing-data"]], "Creating and deleting cells": [[24, "creating-and-deleting-cells"]], "Creating our first DataFrame": [[29, "creating-our-first-dataframe"]], "Creating our own Series": [[29, "creating-our-own-series"]], "Curly brackets": [[15, "curly-brackets"]], "Current working directory": [[30, "current-working-directory"]], "Data Type": [[17, "data-type"]], "Data Types": [[5, null]], "Data Types and Type Conversion": [[7, null]], "Data types control operations": [[7, "data-types-control-operations"]], "DataFrame": [[18, "dataframe"]], "DataFrames and dictionaries": [[29, "dataframes-and-dictionaries"]], "Dealing with different data types": [[7, "dealing-with-different-data-types"]], "Deleting list items": [[9, "deleting-list-items"]], "Descriptive statistics": [[34, null]], "Dictionary for Absolute Beginners": [[17, null]], "Dictionary for Pandas": [[18, null]], "Did you not click add to PATH?": [[25, null]], "Documentation": [[17, "documentation"]], "Download the Titanic data": [[30, "download-the-titanic-data"]], "Empty lists": [[9, "empty-lists"]], "Error messages": [[8, "error-messages"]], "Every function returns something": [[8, "every-function-returns-something"]], "Example of an Admonition in Jupyter Book": [[0, "example-of-an-admonition-in-jupyter-book"]], "Example: Analysing social media impact": [[11, "example-analysing-social-media-impact"]], "Exercises": [[6, "exercises"], [7, "exercises"], [8, "exercises"], [9, "exercises"], [10, "exercises"], [11, "exercises"]], "Exponents": [[5, "exponents"]], "Filtering on column value": [[30, "filtering-on-column-value"]], "Filtering rows based on conditional expressions": [[31, "filtering-rows-based-on-conditional-expressions"], [36, "filtering-rows-based-on-conditional-expressions"]], "Filtering specific rows with .loc[]": [[31, "filtering-specific-rows-with-loc"]], "Find the length of a string": [[6, "find-the-length-of-a-string"]], "Float": [[17, "float"]], "For Loops": [[10, null]], "For loop structure": [[10, "for-loop-structure"]], "For loop syntax": [[10, "for-loop-syntax"]], "Function": [[17, "function"]], "Functions have default values for some arguments": [[8, "functions-have-default-values-for-some-arguments"]], "Functions only work for certain arguments": [[8, "functions-only-work-for-certain-arguments"]], "GeeksforGeeks": [[19, "geeksforgeeks"]], "Get Help and Find Documentation": [[19, null]], "Get Started with JupyterLab": [[22, null]], "Getting Started with Data Analysis": [[35, null]], "Getting Started with Pandas": [[28, null]], "Getting information on the DataFrame": [[30, "getting-information-on-the-dataframe"]], "Groupby operations": [[34, null]], "Handling missing values with .loc[] and .iloc[]": [[31, "handling-missing-values-with-loc-and-iloc"]], "Her f\u00f8lger f\u00f8rst markdown-kode til admonition boxes, derefter den renderede version": [[0, "her-folger-forst-markdown-kode-til-admonition-boxes-derefter-den-renderede-version"]], "How can you have quotation marks inside a string?": [[5, null]], "How for loops work": [[10, "how-for-loops-work"]], "How to Check Your Python Version on Windows": [[25, "how-to-check-your-python-version-on-windows"]], "How to Check Your Python Version on a Mac": [[25, "how-to-check-your-python-version-on-a-mac"]], "How to Install Python on Windows": [[25, "how-to-install-python-on-windows"]], "How to Install Python on macOS": [[25, "how-to-install-python-on-macos"]], "How to Interact With This Book": [[21, null]], "How to open Windows PowerShell": [[25, null]], "How to open the Terminal": [[25, null]], "IDE (Integrated Development Environment)": [[17, "ide-integrated-development-environment"]], "Immutable": [[17, "immutable"]], "Import Pandas": [[29, "import-pandas"], [30, "import-pandas"], [31, "import-pandas"], [33, "import-pandas"], [34, "import-pandas"], [36, "import-pandas"]], "Importing Pandas": [[28, "importing-pandas"]], "Inclusive vs. Exclusive Slicing": [[31, "inclusive-vs-exclusive-slicing"]], "Indentation": [[17, "indentation"]], "Index": [[5, "index"], [17, "index"], [18, "index"]], "Indexing": [[6, "indexing"]], "Indexing beyond the end": [[9, "indexing-beyond-the-end"]], "Indexing lists": [[9, "indexing-lists"]], "Indexing, slicing, and length": [[6, "indexing-slicing-and-length"]], "Infinite loops": [[11, "infinite-loops"]], "Install & Run Python": [[25, null]], "Install Python on Mac": [[25, "install-python-on-mac"]], "Install Python on Windows": [[25, "install-python-on-windows"]], "Installing (or upgrading) Pandas from PyPI": [[28, "installing-or-upgrading-pandas-from-pypi"]], "Integer": [[17, "integer"]], "Integers & floats": [[5, "integers-floats"]], "Integers and floats can be mixed freely in operations": [[7, "integers-and-floats-can-be-mixed-freely-in-operations"]], "Interact With This Book": [[20, null]], "Introducing .loc[] and .iloc[]": [[31, "introducing-loc-and-iloc"]], "Jupyter Display vs Print()": [[32, "jupyter-display-vs-print"]], "Key points": [[5, "key-points"], [6, "key-points"], [7, "key-points"], [8, "key-points"], [9, "key-points"], [10, "key-points"], [11, "key-points"], [29, "key-points"], [30, "key-points"], [31, "key-points"], [34, "key-points"], [36, "key-points"]], "Keyboard shortcut for restarting kernel": [[24, "keyboard-shortcut-for-restarting-kernel"]], "Learn All the New Words": [[16, null]], "Learn more": [[2, "learn-more"]], "Learning Objectives": [[5, null], [6, null], [7, null], [8, null], [9, null], [10, null], [11, null]], "Library": [[17, "library"]], "Lists": [[9, null]], "Lists are mutable": [[9, "lists-are-mutable"]], "Lists may contain items of different data types": [[9, "lists-may-contain-items-of-different-data-types"]], "Looking for the simplest way to get started?": [[25, null]], "Loop": [[17, "loop"]], "Managing kernels": [[24, "managing-kernels"]], "Markdown + notebooks": [[4, "markdown-notebooks"]], "Markdown Files": [[2, null]], "Mathematical operations": [[5, "mathematical-operations"]], "Memory usage": [[30, null]], "Metacharacters": [[15, "metacharacters"]], "Method 1: Installing Python and JupyterLab": [[25, "method-1-installing-python-and-jupyterlab"]], "Method 2: Google Colab": [[25, "method-2-google-colab"]], "Method 3: ERDA": [[25, "method-3-erda"]], "ModuleNotFoundError": [[28, null]], "Modulus": [[5, "modulus"]], "More information about loc and iloc": [[33, "more-information-about-loc-and-iloc"]], "More metacharacters, as well as pipes, lists and question marks": [[15, "more-metacharacters-as-well-as-pipes-lists-and-question-marks"]], "Moving cells": [[24, "moving-cells"]], "Multiple statements in a for loop": [[10, "multiple-statements-in-a-for-loop"]], "Multiplication": [[5, "multiplication"]], "Mutable": [[17, "mutable"]], "My title": [[0, null], [0, null], [0, null]], "MyST markdown": [[4, "myst-markdown"]], "NaN": [[18, "nan"]], "Naming Conventions": [[6, null]], "Naming loop variables": [[10, "naming-loop-variables"]], "Notebooks with MyST Markdown": [[3, null]], "Notice": [[11, null]], "Notice the difference between overwriting and changing values": [[9, null]], "Off-Limits Names": [[32, "off-limits-names"]], "Off-limits names": [[6, "off-limits-names"]], "Official Pandas documentation": [[19, "official-pandas-documentation"]], "Official Python Documentation": [[19, "official-python-documentation"]], "Open and Navigate JupyterLab": [[23, null]], "Operator": [[17, "operator"]], "Pandas DataFrame": [[29, null]], "Pandas data table representation": [[29, "pandas-data-table-representation"]], "Part 1": [[12, null]], "Part 2": [[13, null]], "Python is case-sensitive": [[6, "python-is-case-sensitive"]], "Quickly add YAML metadata for MyST Notebooks": [[3, "quickly-add-yaml-metadata-for-myst-notebooks"]], "Re-Assigning Variables": [[32, "re-assigning-variables"]], "Read and Write Tabular Data": [[30, null]], "Read files": [[15, "read-files"]], "Reading and writing Excel files": [[30, "reading-and-writing-excel-files"]], "Recap on Data Types": [[7, null]], "Recap on division types": [[7, null]], "RegEx and Frankenstein": [[15, null]], "Renaming columns": [[29, "renaming-columns"]], "Replacing list items": [[9, "replacing-list-items"]], "Restart kernel options": [[24, "restart-kernel-options"]], "Running code cells": [[24, "running-code-cells"]], "Runtime errors": [[8, "runtime-errors"]], "Sample Roles and Directives": [[2, "sample-roles-and-directives"]], "Selecting rows and columns using loc and iloc": [[33, "selecting-rows-and-columns-using-loc-and-iloc"]], "Selecting rows and columns": [[31, "selecting-rows-and-columns"], [36, "selecting-rows-and-columns"]], "Selecting specific columns": [[31, "selecting-specific-columns"], [36, "selecting-specific-columns"]], "Series": [[18, "series"], [29, "series"]], "Sign Up for a Course": [[26, null]], "Single equals sign = and a double equals sign ==": [[5, null]], "Slice": [[5, "slice"], [17, "slice"]], "Slicing lists": [[9, "slicing-lists"]], "Solution": [[6, null], [6, null], [6, null], [6, null], [7, null], [7, null], [7, null], [7, null], [7, null], [7, null], [8, null], [8, null], [8, null], [9, null], [9, null], [9, null], [9, null], [9, null], [9, null], [9, null], [9, null], [10, null], [10, null], [10, null], [10, null], [10, null], [10, null], [10, null], [10, null], [10, null], [10, null], [11, null], [11, null], [11, null], [29, null], [30, null]], "Square brackets [A-Z]": [[15, "square-brackets-a-z"]], "Statement": [[17, "statement"]], "Step 1: Download the Official Installer": [[25, "step-1-download-the-official-installer"]], "Step 1: Open JupyterLab": [[23, "step-1-open-jupyterlab"], [23, "id1"]], "Step 2: Navigate the File/Directory System": [[23, "step-2-navigate-the-file-directory-system"], [23, "id2"]], "Step 2: Run the Installer": [[25, "step-2-run-the-installer"]], "String": [[17, "string"]], "String methods": [[5, "string-methods"]], "Strings": [[5, "strings"]], "Strings have a length (but numbers do not)": [[7, "strings-have-a-length-but-numbers-do-not"]], "Striving for Good Variable Names": [[32, "striving-for-good-variable-names"]], "Subset": [[18, "subset"]], "Subsets": [[31, null], [36, null]], "Summary": [[31, "summary"]], "Summary Statistics": [[34, null]], "Syntax": [[17, "syntax"]], "Syntax errors": [[8, "syntax-errors"]], "Table of Boolean Operations": [[5, null]], "Table of Comparison Operations": [[5, null]], "Table of List Methods": [[9, null]], "Table of Mathematical Operations": [[5, null]], "The help() function": [[8, "the-help-function"]], "The type() function": [[5, "the-type-function"]], "The while syntax": [[11, "the-while-syntax"]], "This is a title": [[0, null], [0, null]], "To choose from a wider list of files\u2026": [[32, null]], "Todo": [[0, "id1"]], "Transpose": [[18, "transpose"]], "Transposing a DataFrame": [[29, "transposing-a-dataframe"]], "Use a slice to get a substring": [[6, "use-a-slice-to-get-a-substring"]], "Use else to execute a block of code when an if condition is not true": [[11, "use-else-to-execute-a-block-of-code-when-an-if-condition-is-not-true"]], "Use meaningful variable names": [[6, "use-meaningful-variable-names"]], "Use print() to display values": [[6, "use-print-to-display-values"]], "Use variables to store values": [[6, "use-variables-to-store-values"]], "Using .iloc[] for positional indexing": [[31, "using-iloc-for-positional-indexing"]], "Using .loc[] and .iloc[] for complex conditions": [[31, "using-loc-and-iloc-for-complex-conditions"]], "Using accumulator variables": [[10, "using-accumulator-variables"]], "Using range with the for loop": [[10, "using-range-with-the-for-loop"]], "Using the + and * operators on strings": [[7, "using-the-and-operators-on-strings"]], "Variable": [[17, "variable"]], "Variable Names": [[32, "variable-names"]], "Variable names": [[6, "variable-names"]], "Variables": [[32, null]], "Variables Persist Between Cells": [[6, null]], "Variables and Assignment": [[6, null]], "Variables in calculations": [[6, "variables-in-calculations"]], "Variables must be created before they are used": [[6, "variables-must-be-created-before-they-are-used"]], "Variables only change value when something is assigned to them": [[7, "variables-only-change-value-when-something-is-assigned-to-them"]], "W3Schools": [[19, "w3schools"]], "Was pip not installed correctly?": [[25, null]], "Welcome": [[1, null], [27, null]], "What are lists?": [[9, "what-are-lists"]], "What exactly are loc and iloc?": [[31, null]], "What is MyST?": [[2, "what-is-myst"]], "What is the problem with the script above?": [[11, null]], "When to use loc or iloc": [[33, null]], "When using loc/iloc": [[31, null], [33, null]], "While loops": [[11, "while-loops"]], "Why pandas as pd?": [[29, null]], "Would you rather use another method?": [[25, null]], "Your Turn": [[32, "your-turn"]], "dtypes": [[30, "dtypes"]], "elif specify additional tests": [[11, "elif-specify-additional-tests"]], "head()": [[30, "head"]], "if statements control whether or not a block of code is executed": [[11, "if-statements-control-whether-or-not-a-block-of-code-is-executed"]], "info()": [[30, "info"]], "loc and iloc": [[33, null]], "max(), min(), and round()": [[8, "max-min-and-round"]], "notna() and isna()": [[30, "notna-and-isna"]], "pd": [[18, "pd"]], "shape": [[30, "shape"]], "tail()": [[30, "tail"]], "w+ along with \\b": [[15, "w-along-with-b"]]}, "docnames": ["_to_be_deleted_later/admonition_boxes", "_to_be_deleted_later/intro_old", "_to_be_deleted_later/markdown", "_to_be_deleted_later/markdown-notebooks", "_to_be_deleted_later/notebooks", "docs/101/01_data_types", "docs/101/02_variables_and_assignment", "docs/101/03_type_conversion", "docs/101/04_built-in_functions", "docs/101/05_lists", "docs/101/06_for_loops", "docs/101/07_conditionals", "docs/101/part1", "docs/101/part2", "docs/_test/2024_ods", "docs/_test/regex_and_frankenstein", "docs/howto/dictionaries", "docs/howto/dictionary_101", "docs/howto/dictionary_pandas", "docs/howto/help_and_documentation", "docs/howto/interact", "docs/howto/interact_original", "docs/howto/jupyterlab", "docs/howto/jupyterlab_1", "docs/howto/jupyterlab_2", "docs/howto/setup", "docs/howto/sign_up", "docs/intro", "docs/pandas/00_pandas_start", "docs/pandas/01_pandas_dataframe", "docs/pandas/02_pandas_tabular_data", "docs/pandas/03_pandas_subsets", "docs/pandas/04-Variables", "docs/pandas/04_pandas_loc_iloc", "docs/pandas/05_pandas_summary_statistics", "docs/pandas/getting_started", "docs/pandas/original_03_pandas_subsets"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.todo": 2, "sphinxcontrib.bibtex": 9}, "filenames": ["_to_be_deleted_later/admonition_boxes.ipynb", "_to_be_deleted_later/intro_old.md", "_to_be_deleted_later/markdown.md", "_to_be_deleted_later/markdown-notebooks.md", "_to_be_deleted_later/notebooks.ipynb", "docs/101/01_data_types.ipynb", "docs/101/02_variables_and_assignment.ipynb", "docs/101/03_type_conversion.ipynb", "docs/101/04_built-in_functions.ipynb", "docs/101/05_lists.ipynb", "docs/101/06_for_loops.ipynb", "docs/101/07_conditionals.ipynb", "docs/101/part1.ipynb", "docs/101/part2.ipynb", "docs/_test/2024_ods.ipynb", "docs/_test/regex_and_frankenstein.ipynb", "docs/howto/dictionaries.ipynb", "docs/howto/dictionary_101.ipynb", "docs/howto/dictionary_pandas.ipynb", "docs/howto/help_and_documentation.ipynb", "docs/howto/interact.ipynb", "docs/howto/interact_original.ipynb", "docs/howto/jupyterlab.ipynb", "docs/howto/jupyterlab_1.ipynb", "docs/howto/jupyterlab_2.ipynb", "docs/howto/setup.ipynb", "docs/howto/sign_up.ipynb", "docs/intro.ipynb", "docs/pandas/00_pandas_start.ipynb", "docs/pandas/01_pandas_dataframe.ipynb", "docs/pandas/02_pandas_tabular_data.ipynb", "docs/pandas/03_pandas_subsets.ipynb", "docs/pandas/04-Variables.ipynb", "docs/pandas/04_pandas_loc_iloc.ipynb", "docs/pandas/05_pandas_summary_statistics.ipynb", "docs/pandas/getting_started.ipynb", "docs/pandas/original_03_pandas_subsets.ipynb"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 15, 18, 23, 25, 27, 28, 29, 30, 31, 32, 33, 34, 36], "0": [4, 5, 6, 7, 8, 9, 10, 11, 15, 17, 24, 29, 30, 31, 32, 33, 34, 36], "00": 30, "0000": [30, 31, 33, 34, 36], "000000": 34, "028662": 34, "0500": [30, 31, 33, 34, 36], "07": 11, "0750": [31, 36], "0x7f00d939d040": 4, "1": [4, 5, 13, 15, 17, 18, 26, 29, 30, 31, 32, 33, 34, 36], "10": [4, 5, 7, 8, 10, 11, 23, 30, 31, 32, 33, 36], "100": [4, 8, 11, 15, 32], "1000": [30, 31, 33, 34, 36], "106": 34, "10th": 33, "11": [7, 8, 9, 23, 30, 31, 33, 36], "111369": [30, 31, 33, 34, 36], "112053": [30, 31, 33, 34, 36], "113": 31, "113572": 31, "113783": [31, 36], "113803": [30, 31, 33, 34, 36], "11751": [31, 36], "11767": [31, 36], "118810": 34, "12": [7, 8, 9, 10, 11, 17, 25, 30, 31, 32, 33, 34, 36], "120": [10, 11, 23], "123": 6, "125": 10, "1250": [31, 36], "125000": 34, "125798": 34, "13": [5, 10, 30, 31, 32, 33, 34, 36], "14": [7, 31, 32, 33, 34, 36], "14159": 7, "1415926": 5, "147314": 34, "14879": 30, "15": [11, 31, 32, 33, 36], "150": 11, "155": 10, "1583": [31, 36], "159236": 34, "16": [5, 9, 31, 32, 33, 34, 36], "1664984018": 32, "17": [5, 9, 32, 33], "17463": [31, 36], "17599": [30, 31, 33, 34, 36], "1764": [20, 21], "177": 30, "18": [9, 17, 32, 33], "184": 34, "1868761352": 32, "188908": 34, "19": [30, 31, 32, 33, 34, 36], "19680801": 4, "1984": 9, "2": [3, 5, 17, 18, 26, 29, 30, 31, 32, 33, 34, 36], "20": [9, 11, 30, 32, 33, 34], "200": 10, "2014": 2, "204": [30, 31, 36], "204208": 34, "21": [31, 33, 34, 36], "211536": [30, 31, 33, 34, 36], "21171": [30, 31, 33, 34, 36], "216": 34, "217": [31, 33, 36], "22": [11, 29, 30, 31, 32, 33, 34, 36], "226127": 34, "23": [30, 31, 32, 33, 34, 36], "235702": 34, "236852": [31, 36], "24": 33, "248706": [31, 36], "25": [7, 11, 17, 29, 31, 32, 33, 34, 36], "2500": [29, 30, 31, 33, 34, 36], "25th": 33, "26": [30, 31, 33, 34, 36], "27": [30, 31, 32, 33, 34, 36], "2750": [31, 36], "28": [32, 33, 34], "2833": [29, 30, 31, 33, 34, 36], "29": [31, 32, 34, 36], "3": [5, 17, 18, 29, 30, 31, 32, 33, 34, 36], "30": [11, 15, 30, 31, 33, 34, 36], "300": 11, "31": [31, 32, 33, 34, 36], "3101282": [30, 31, 33, 34, 36], "317": 32, "318": 32, "319": 32, "32": [30, 31, 33, 34, 36], "320": 32, "321": 32, "322": 32, "324": 32, "3249180260": 32, "329200": 34, "33": [31, 32], "330877": [31, 36], "34": 33, "345765": [31, 36], "347082": [31, 36], "349909": [31, 36], "35": [29, 30, 31, 32, 33, 34, 36], "37": 32, "370376": [30, 31, 33, 34, 36], "373450": [30, 31, 33, 34, 36], "38": [29, 30, 31, 33, 34, 36], "382652": [31, 36], "387211622": 32, "389108": 34, "389948": 34, "39": [31, 33, 36], "392076": [31, 36], "3981446915": 32, "3rd": 33, "4": [3, 4, 5, 17, 18, 30, 31, 32, 33, 34, 36], "40": [31, 32], "42": [5, 6, 7, 20, 21, 31, 36], "420000": 34, "429809": 34, "431": 34, "44": 34, "45": [6, 10, 30], "4500": [30, 31, 33, 34, 36], "454": 34, "4542": 34, "454200": 34, "4583": [31, 36], "47": [31, 36], "479818": 34, "49": 34, "491": 34, "5": [4, 11, 17, 25, 30, 31, 32, 33, 34, 36], "50": [11, 34], "500": 11, "51": [31, 36], "512": [7, 34], "52": [7, 8, 31, 36], "523893": 34, "526497": 34, "53": [8, 30, 31, 33, 34, 36], "54": [11, 31, 36], "55": [10, 31, 33, 36], "5500": [31, 36], "5542": [31, 36], "56": [31, 36], "58": [29, 31, 33, 36], "6": [11, 17, 30, 31, 32, 33, 36], "60": [6, 30], "600": 7, "61": [29, 31], "62": 31, "64": 25, "649682": 34, "6607": [30, 31, 33, 34, 36], "661633": 34, "665": 30, "666": [5, 30], "6666666666666667": 7, "67": 34, "675": [31, 36], "687": 30, "693429": 34, "694268": 34, "69911764705882": 34, "699118": 34, "6th": 33, "7": [5, 7, 8, 11, 29, 30, 31, 32, 33, 34, 36], "70": 11, "71": [11, 29, 30, 31, 33, 34, 36], "712": 8, "714": [30, 31, 34, 36], "72": 5, "726645": 34, "73": 30, "741782": 34, "742038": 34, "75": [10, 30, 34], "7500": [30, 31, 33, 34, 36], "777": 5, "8": [5, 11, 15, 17, 29, 30, 31, 32, 33, 34, 36], "80": [10, 11, 31, 34], "800": 11, "829": 31, "83": [30, 31, 36], "830": 31, "84": 15, "85": 11, "854": 31, "86": 11, "860": 31, "8625": [31, 36], "865": [31, 33, 36], "866": [31, 36], "871": [31, 33, 36], "872": [31, 36], "873": [31, 33, 36], "874": [31, 36], "879": [31, 33, 36], "880": [31, 36], "884": [31, 36], "885": [31, 33, 36], "886": [30, 31, 33, 34, 36], "887": [30, 31, 33, 34, 36], "888": [30, 31, 33, 34, 36], "889": [30, 31, 33, 34, 36], "890": [30, 31, 33, 34, 36], "891": [30, 31, 33, 34, 36], "9": [7, 8, 9, 10, 11, 30, 31, 32, 33, 36], "90": 11, "910400": 34, "915709": 34, "9250": [29, 30, 31, 33, 34, 36], "970121": 34, "99": 9, "99th": 9, "A": [0, 5, 6, 7, 8, 9, 10, 17, 18, 24, 25, 29, 31, 32, 33, 34], "AND": [31, 36], "And": [6, 9, 15, 29], "As": [4, 6, 25, 31, 32, 34, 36], "Be": [10, 25, 32], "But": [4, 6, 7, 9, 10, 11, 15, 25, 32], "By": [8, 13, 23, 24, 30], "For": [0, 2, 4, 5, 6, 7, 9, 13, 15, 17, 22, 25, 29, 30, 31, 32, 33, 34, 36], "If": [3, 5, 6, 7, 8, 9, 10, 11, 15, 20, 21, 23, 24, 25, 26, 28, 29, 31, 32, 34], "In": [2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 18, 22, 23, 24, 25, 26, 28, 29, 30, 32, 33, 34], "It": [2, 5, 6, 7, 9, 10, 11, 15, 17, 18, 21, 25, 29, 30, 31, 33, 34, 36], "Its": 15, "No": [25, 32], "Not": [10, 18], "OF": 15, "OR": [15, 31, 36], "On": 23, "Or": [5, 10, 11, 25, 28, 32], "THE": 15, "That": [1, 3, 10, 11, 27], "The": [0, 1, 2, 3, 6, 7, 9, 10, 15, 17, 19, 20, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 36], "Then": [25, 31, 32, 33], "There": [4, 5, 6, 7, 9, 11, 15, 19, 25, 26, 28], "These": [0, 6, 8, 15, 19, 24, 28, 29, 31, 33], "To": [6, 7, 8, 9, 11, 13, 15, 16, 20, 21, 23, 24, 25, 30, 31, 36], "With": [3, 24, 31, 32], "_": [15, 32], "____": [9, 10, 11], "_alistairs_real_ag": 6, "_modified_open": 32, "aaah": 8, "ab": [5, 6], "abbrevi": 7, "abil": 31, "about": [0, 2, 3, 4, 5, 6, 8, 9, 11, 15, 17, 20, 22, 25, 27, 28, 29, 30, 31, 32, 34], "abov": [5, 6, 7, 9, 10, 15, 24, 25, 32, 33, 36], "absenc": 31, "absolut": [1, 5, 6, 8, 12, 13, 16, 26, 27], "accept": 2, "access": [5, 9, 17, 18, 23, 25, 28, 29, 31, 32, 33, 36], "accident": 11, "accordingli": 7, "account": 25, "acess": 5, "achem": 33, "achiev": 33, "acknowledg": [1, 27], "acronym": 10, "across": 34, "action": [10, 11, 17, 24, 31, 33], "activ": 24, "actual": [6, 7, 10, 15, 17, 29, 30, 34], "ad": [5, 6, 10, 15, 17, 25, 28, 29, 32], "add": [5, 6, 7, 8, 9, 10, 24, 29, 31], "add_": 4, "addit": [7, 8, 15, 17, 23, 28, 31], "addition": [6, 23, 24, 32], "adel": 33, "adieu": 15, "adjust": [11, 23, 36], "adolfina": 33, "adopt": [18, 28, 29], "adress": 6, "adult": 17, "advanc": [13, 15, 17, 31], "advantag": 13, "advic": 0, "advis": [10, 25], "aeg": 8, "af": 15, "affect": [6, 9, 24, 32], "affix": 15, "africa": 15, "afsl\u00f8r": 15, "after": [6, 7, 8, 9, 10, 15, 17, 18, 25, 27, 28, 29, 31, 32, 33], "afterward": [12, 25], "ag": [6, 8, 17, 25, 29, 30, 31, 33, 34, 36], "again": [10, 11, 12, 28, 32], "against": 32, "age_in_3_year": 29, "agg": 34, "agit": 15, "ago": [6, 23], "agre": 25, "agreement": 25, "ah": 15, "ahead": 25, "ahlin": 31, "ahm": [6, 7], "air": 15, "aka": [7, 29], "album": 32, "alcott": 32, "alexenia": [31, 33, 36], "algorithm": 27, "alias": [18, 28, 29, 30, 31, 33, 34, 36], "alic": [17, 32], "align": [4, 29], "all": [1, 2, 3, 6, 7, 9, 10, 11, 12, 15, 18, 19, 24, 25, 26, 27, 28, 29, 30, 31, 32, 36], "all_the_word": 32, "allen": [29, 30, 31, 33, 34, 36], "allevi": 30, "allow": [2, 5, 7, 9, 11, 17, 21, 23, 24, 25, 29, 30, 31, 33, 36], "almost": [6, 10, 32], "alon": 33, "along": [12, 25, 28, 29, 30], "alphabet": [8, 15], "alphanumer": 6, "alreadi": [8, 10, 17, 25, 26, 28], "also": [2, 3, 4, 5, 6, 7, 8, 15, 20, 21, 22, 23, 25, 28, 29, 31, 33, 36], "alt": 24, "alter": [9, 17], "altern": [11, 23, 25], "although": [5, 15, 31, 33], "alwai": [5, 8, 10, 11, 19, 23, 25, 31], "am": [5, 8, 15, 17, 32], "amanda": 33, "ambigu": [7, 36], "ameli": 31, "amercian": 11, "america": 15, "amount": 29, "amp": 32, "an": [1, 2, 5, 6, 7, 8, 9, 10, 13, 15, 17, 18, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 36], "analysi": [24, 26, 30], "analyt": [1, 27], "analyz": [15, 32], "ander": [31, 33, 36], "andersson": [31, 33, 36], "andr": 15, "ani": [3, 5, 6, 8, 9, 10, 11, 15, 17, 18, 20, 21, 23, 24, 25, 28, 32], "anim": 10, "anna": 33, "anni": 33, "anoth": [5, 7, 11, 15, 32], "answer": 7, "ant": 27, "any_chunk_of_text": 32, "anyon": [1, 27], "anyth": [5, 8, 9, 10, 15, 32], "anywher": 23, "appear": [7, 15], "append": [5, 10, 11, 15], "appli": [18, 29, 31, 34, 36], "applic": [17, 23, 25], "approach": [15, 30, 34, 36], "appropri": [6, 11, 32], "ar": [1, 2, 3, 5, 7, 8, 10, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 24, 25, 28, 29, 30, 32, 33, 34, 36], "archangel": 15, "archiv": 25, "arg": 32, "argument": [0, 6, 29, 30, 33, 34], "aris": 31, "arithmet": 7, "around": [6, 8, 25, 27], "arrai": [4, 10, 18, 29], "arrow": [23, 24], "asdf": 10, "ask": [7, 11, 25, 29], "asp": 15, "asplund": 31, "assign": [5, 8, 9, 10, 11, 12, 29], "associ": [11, 18, 32], "assum": 29, "attach": 36, "attempt": [9, 11], "attend": [1, 7, 12, 27], "attent": 0, "attribut": [30, 31, 36], "auditori": 2, "august": 15, "augusta": 31, "australia": 2, "auto": 22, "automat": [6, 10, 11, 23, 24, 28], "autosav": 23, "avail": [0, 25, 30, 32, 34], "averag": [7, 34], "avert": 15, "avoid": [6, 10], "awar": 25, "ax": 4, "axi": [29, 30], "b": [5, 6, 8, 10, 11, 18, 24], "b28": 31, "b42": [30, 31, 33, 34, 36], "ba": 6, "back": [6, 11, 23, 25], "backslash": 5, "backward": 9, "bad": [6, 31, 32], "bar": 11, "base": [1, 3, 5, 7, 11, 17, 18, 27, 33], "basic": [11, 12, 17, 26, 31], "beast": 15, "beaufort": 15, "beauti": 15, "becaus": [5, 6, 7, 8, 10, 15, 31, 32, 33], "beckwith": [31, 33, 36], "becom": [6, 9, 11, 15, 29, 31], "been": [1, 6, 8, 9, 10, 11, 15, 17, 25, 27, 32], "beeslei": 33, "befor": [1, 5, 8, 9, 11, 12, 15, 20, 25, 27, 28, 31, 32, 33], "begin": [4, 5, 6, 9, 10, 17, 26], "beginn": [1, 8, 12, 13, 16, 26, 27], "behav": [31, 33], "behavior": [9, 31, 33], "behind": 15, "behr": [30, 31, 33, 34, 36], "being": [2, 6, 10, 15, 30, 32], "below": [1, 5, 6, 8, 9, 10, 11, 12, 15, 20, 21, 24, 25, 29, 30, 32, 33, 36], "beneath": [20, 21], "benefit": 31, "best": 6, "betingels": 15, "better": [6, 11, 31], "between": [5, 7, 8, 11, 15, 23, 32, 33], "beyonc": 32, "beyond": [17, 33], "bib": 2, "bibliographi": 2, "bibtex": 2, "binder": 21, "birth": 15, "bit": [5, 11, 25, 26], "blah": 8, "blank": 8, "blind": 9, "blink": 24, "block": [3, 6, 10, 12, 17, 32], "blu": 6, "blue": [6, 10, 24], "blur": 8, "boarder": 15, "bodi": [10, 11], "boi": 15, "boks": 0, "bold": 15, "bonnel": [29, 31, 33, 36], "book": [1, 2, 3, 4, 7, 9, 10, 15], "book_titl": 9, "bool": 36, "boolean": [11, 30, 33, 36], "borrow": [1, 27], "bortfiltrer": 15, "both": [2, 5, 6, 8, 9, 15, 17, 18, 29, 31, 32, 33, 34], "bottom": [10, 24, 25], "boundari": 15, "box": [2, 6, 23, 25, 32], "brace": 24, "bracket": [5, 6, 9, 22, 31, 33, 34], "bradlei": [30, 31, 33, 34, 36], "branch": 11, "braund": [29, 30, 31, 33, 34, 36], "breadcrumb": 23, "brew": 11, "brian": 2, "briefli": 9, "brigg": [30, 31, 33, 34, 36], "brilliant": 15, "brisban": 2, "broader": 25, "brother": 15, "brought": 15, "brows": 25, "browser": [23, 25], "bug": 28, "build": [2, 6, 10, 11, 12, 13, 17, 32], "built": [3, 6, 7, 10, 12, 17, 25, 32], "builtin": [8, 32], "button": [6, 11, 25], "bystrom": [31, 33, 36], "c": [8, 10, 11, 23, 30, 31, 33, 34, 36], "c103": [31, 36], "c123": [30, 31, 33, 34, 36], "c148": [30, 31, 33, 34, 36], "c50": [31, 36], "c85": [30, 31, 33, 34, 36], "cabin": [30, 31, 33, 34, 36], "cach": 15, "calcul": [5, 7, 9, 10, 29, 30, 32, 34], "calendar": 26, "call": [2, 6, 7, 8, 9, 10, 11, 17, 18, 25, 28, 29, 30, 32], "came": 7, "campaign": 11, "can": [0, 1, 2, 3, 4, 8, 9, 10, 11, 12, 15, 16, 17, 18, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36], "cannot": [6, 7, 8, 9, 17, 23, 25, 32, 33, 36], "capabl": [5, 18, 28], "capit": [15, 25], "captur": 9, "car": 11, "care": 6, "carefulli": 25, "carl": 31, "carli": 32, "carolin": 15, "carpentri": [1, 27], "carri": [8, 11, 30, 31, 33, 34, 36], "carrol": 32, "carter": 31, "case": [8, 10, 15, 25, 28, 32, 33], "cat": 10, "catalina": 25, "catch": [6, 11], "categor": 29, "categoris": 11, "catherin": [30, 31, 33, 34, 36], "caught": 11, "caus": [8, 25, 28], "caution": [0, 25], "cd": 23, "cell": [7, 8, 9, 10, 20, 21, 22, 32], "certain": [5, 6, 11, 15, 17, 18, 29, 36], "certainli": [6, 32], "certif": 25, "chang": [6, 10, 11, 15, 17, 23, 25, 29, 32], "chapter": [12, 15, 32], "char": 10, "charact": [5, 6, 7, 10, 15, 32], "characterist": 29, "charat": 15, "charl": 33, "charlott": 32, "charm": 7, "cheatsheet": 0, "check": [4, 5, 6, 11, 23, 29, 30, 31, 32, 36], "checkpoint": 23, "child": 15, "choic": [6, 11, 25], "choos": 10, "christian": 15, "christoph": 2, "chronolog": [6, 11], "cite": 2, "clarifi": [0, 6, 32], "clariti": [11, 31], "class": [31, 34, 36], "classifi": 11, "clau": 31, "clean": [15, 24], "clean_text_1": 15, "clean_text_2": 15, "cleaned_text": 15, "clear": [6, 9, 11, 24, 31, 32], "clearer": [31, 32], "clearli": 15, "click": [6, 8, 23, 24], "clidk": 20, "clock": 15, "close": [6, 8, 22, 25], "closer": [5, 8], "cloud": 32, "cm": 4, "cmap": 4, "cmd": [23, 24, 25], "code": [1, 2, 3, 6, 7, 8, 9, 10, 17, 19, 22, 25, 27, 28, 30, 31, 32, 33, 36], "coffe": [6, 11, 32], "cognit": 2, "cold": 4, "collaps": 23, "collect": [6, 9, 10, 11, 17, 32], "colon": [6, 10, 11], "color": [4, 6], "colour": [5, 6, 10], "colum": 18, "column": [18, 34], "com": 15, "combin": [8, 9, 11, 17, 29, 34, 36], "come": [7, 11, 23, 25], "comma": [6, 9, 15, 18, 30, 31, 33], "command": [3, 7, 10, 23, 25, 28, 29, 30, 31, 32], "common": [6, 10, 17, 34], "commonli": [8, 17], "commonmark": 2, "compar": [5, 8, 18, 29, 31, 36], "comparis": 5, "comparison": [15, 17, 36], "compil": [16, 25], "complet": [13, 25], "complex": [33, 36], "compos": [9, 15], "comprehens": [15, 19], "comput": [1, 5, 18, 19, 20, 21, 24, 25, 26, 27], "concat": 29, "concaten": [7, 8, 10, 29], "concept": [13, 16, 26], "concern": 6, "concis": [30, 31, 33], "concord": 15, "condit": [5, 8, 13, 25, 30, 33], "confer": 2, "configur": 21, "confirm": 23, "confus": [5, 16, 36], "congratul": [11, 25], "conjunct": 27, "connect": [1, 14, 25], "consecut": 7, "consequ": 0, "consid": [9, 17], "consider": 15, "consist": [5, 7, 10, 15, 31], "contain": [5, 6, 10, 11, 15, 17, 20, 21, 24, 29, 30, 31, 32, 34, 36], "content": [0, 2, 3, 6, 9, 15, 17, 21, 23], "context": [15, 18], "contextlib": 4, "continu": [5, 11, 25], "contrari": 8, "contrast": 9, "contribut": 15, "control": [17, 23, 31], "conveni": [29, 30, 31, 34], "convent": [0, 10, 18, 28, 29], "convention": 28, "convers": [12, 36], "convert": [3, 5, 7, 11, 29], "coolwarm": 4, "copenhagen": [1, 25, 26, 27], "copi": [6, 11, 23, 25, 31], "cop\u00eat": 15, "core": [24, 29, 30, 31, 32, 36], "corollari": 27, "corpor": 25, "correct": [7, 11, 17, 23], "correctli": [6, 8, 10, 11, 17, 28], "correspond": [9, 24, 29, 32, 33, 36], "cortex": 2, "could": [7, 9, 11, 30, 32], "count": [6, 7, 8, 9, 11, 30, 31, 32, 36], "counter": [11, 32], "cours": [1, 7, 10, 11, 12, 13, 14, 17, 25, 27], "courtenai": 31, "cover": [12, 13, 23, 31], "crash": 32, "creat": [4, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21, 22, 23, 25], "creation": [9, 29], "creatur": 15, "crimin": 15, "criteria": [11, 18, 31], "critic": 0, "cruyssen": [31, 33, 36], "ctrl": [11, 23, 24], "cultur": [1, 27], "cume": [30, 31, 33, 34, 36], "curli": 24, "current": [1, 9, 10, 11, 24, 25, 27], "cursor": 24, "custom": 36, "custom_lin": 4, "cut": 7, "cwd": 30, "cycler": 4, "d": [3, 9, 10, 24, 30, 31, 33, 36], "d35": [31, 36], "dag": 25, "dai": [7, 15], "danger": 0, "danira": 33, "dark": 15, "data": [4, 6, 8, 10, 11, 12, 15, 18, 24, 25, 26, 31, 32, 33, 36], "databas": 30, "datacamp": 25, "datafram": 35, "datalab": [1, 27], "dataset": [18, 25, 30, 31, 33, 34, 36], "de": [2, 15], "deal": 36, "dec": 15, "decent": 11, "decim": [5, 8, 17], "decod": 15, "deep": 30, "deeper": 22, "deepest": [1, 27], "def": [15, 32], "default": [3, 6, 23, 24, 25, 28, 29, 30, 32, 34], "defin": [3, 6, 8, 10, 11, 17, 31, 32, 34, 36], "definit": [6, 15, 16, 32], "deform": 15, "del": 9, "delet": 22, "delic": 11, "delici": 11, "delus": 15, "dem": 15, "demand": 10, "den": 15, "denn": 0, "departur": 30, "depend": [2, 7, 8, 17, 23, 25, 28], "depth": [9, 22], "der": 15, "descend": 15, "describ": [0, 8, 15, 25, 30, 33, 34], "descript": [9, 25], "design": [17, 20, 21, 22, 26, 29, 31, 33], "desir": [23, 32], "despacito": 9, "destin": 25, "det": 15, "detail": [3, 20, 21, 25, 34], "detect": [7, 8], "determin": [7, 11, 27, 29, 30, 31, 36], "develop": [19, 25, 27], "develp": 25, "df": [18, 29, 31], "df_transpos": 29, "dictionari": [12, 16], "did": 32, "differ": [0, 1, 2, 5, 6, 10, 11, 12, 15, 17, 18, 22, 24, 25, 30, 32, 33, 34], "different_vari": 32, "difficult": 10, "digit": [6, 8, 15, 32], "dimens": [29, 30, 31, 36], "dimension": [18, 29], "dire": 15, "direct": [0, 3], "directli": [5, 7, 23, 24, 25, 28, 31, 33, 36], "directori": 32, "disabl": [24, 25], "discard": 9, "displai": [3, 8, 9, 11, 23, 25, 29, 30, 31, 33, 34, 36], "disrupt": 8, "diss": 15, "distanc": 6, "distant": 15, "distinguish": 15, "dive": [12, 22, 24], "divid": [5, 7], "divin": 15, "dk": 20, "dkk": 29, "do": [2, 4, 5, 6, 8, 9, 10, 11, 15, 17, 23, 25, 26, 29, 30, 31, 32], "document": [0, 2, 3, 4, 9, 11, 23, 31, 33, 34], "documentaion": [1, 27], "doe": [5, 6, 7, 8, 9, 10, 15, 23, 25, 32, 34], "doesn": [5, 6, 8, 15], "doesnt": 25, "dog": 10, "dollar": 4, "don": [7, 11, 16, 25, 32], "done": [5, 6, 7, 10, 11, 17, 25, 28, 29, 31, 34], "doolei": [30, 31, 33, 34, 36], "doubl": [6, 7, 15, 17, 23, 25, 31, 32, 33, 36], "down": [6, 8, 11, 15, 23, 24, 25, 32], "download": [1, 12, 15, 27, 28], "downward": 24, "dracula_bram": 32, "drag": 23, "draw": 6, "dream": 15, "drive": 25, "drop": [23, 25], "dropna": 34, "dsaio": 9, "dtype": [29, 31, 34, 36], "due": 36, "dure": [10, 32], "e": [6, 7, 8, 9, 10, 11, 15, 17, 20, 23, 24, 26, 29, 30, 31, 33, 34], "e46": [31, 36], "each": [0, 5, 6, 7, 8, 9, 10, 11, 12, 18, 23, 29, 30, 32, 34, 36], "earlier": 23, "easi": [11, 15], "easier": [6, 15, 18, 24, 28, 29], "easiest": 25, "easili": [24, 25], "ebook": 15, "ecosystem": 2, "edith": [30, 31, 33, 34, 36], "editor": [5, 6, 23], "edu": 21, "edward": 31, "effect": [9, 11, 22, 23, 31], "effici": [10, 22, 23, 24, 27, 29, 31, 33, 36], "efter": 15, "either": [5, 6, 7, 9, 11, 13, 15, 17, 25, 31, 36], "elaps": 7, "electron": 25, "eleg": 33, "element": [1, 6, 9, 17, 18, 29, 30, 36], "eleph": 10, "elizabeth": [31, 33, 36], "ellipsi": 30, "els": [5, 9, 10, 32], "elsewher": 0, "email": [20, 21], "emb": 4, "embark": [30, 31, 33, 34, 36], "embrac": 15, "emelia": 33, "emilia": 31, "emot": 32, "empti": [8, 10], "en": [0, 15], "enabl": [23, 24, 25], "enclos": [5, 24], "encod": 32, "encount": [16, 19, 28], "encourag": [1, 20, 27], "end": [4, 5, 6, 10, 11, 13, 15, 17, 30, 31, 33, 36], "endpoint": 36, "engag": 11, "engin": [15, 24], "england": 15, "english": [8, 15], "englishman": 15, "enhanc": [22, 36], "enlighten": 15, "enrol": 7, "ensur": [1, 13, 15, 23, 24, 27, 28, 31, 36], "ensurepip": 25, "enter": [11, 23, 24, 25], "entir": [6, 9, 24, 29, 31, 34], "entri": [30, 31, 34, 36], "environ": [5, 6, 8, 25, 30, 32], "episod": [8, 9], "epub": 15, "equal": [6, 7, 9, 17, 29, 32], "equip": 31, "equival": [10, 36], "er": 15, "eras": 25, "erda": 17, "ernest": 31, "errno": 32, "error": [0, 6, 7, 9, 28, 31, 32], "esc": 24, "escap": [4, 5, 32], "especi": [17, 24], "espresso": 11, "essenti": [5, 13, 22, 30, 33], "et": 15, "etc": [4, 5, 6, 8, 9], "eugen": 33, "european": 15, "evalu": [6, 11, 36], "evelyn": 31, "even": [5, 7, 9, 11, 13, 15, 28, 30, 32], "evenli": 7, "event": [8, 15], "everi": [7, 15, 23], "everydai": 15, "everyon": [7, 10], "everyth": 15, "evid": [2, 31], "evolv": 11, "ewr_422_yi": 6, "ex": 25, "exact": 31, "exactli": [8, 15, 30, 32], "exampl": [2, 4, 5, 6, 7, 8, 9, 10, 15, 17, 18, 20, 21, 23, 25, 31, 32, 34, 36], "exce": 36, "excel": [11, 15, 28], "except": 8, "excerpt": 15, "exchang": [6, 29], "exclaim": 5, "exclam": 28, "exclud": [17, 34, 36], "exclus": 33, "execut": [3, 6, 8, 9, 17, 24, 31, 33], "exercis": [12, 31], "exist": [5, 6, 8, 9, 10, 17], "exit": 11, "exitstack": 4, "exmampl": 0, "expand": 23, "expect": [7, 8, 10, 11, 26], "experi": [15, 21], "experiment": 7, "explain": [5, 7, 8, 9, 10, 11, 17, 20, 21, 29], "explan": [5, 10], "explicit": [31, 33], "explicitli": [7, 31, 33, 34], "explor": [23, 31, 32], "export": 30, "express": [5, 7, 8, 9, 11, 15], "extend": [1, 5, 9, 27, 29], "extens": [0, 2], "extern": 28, "extra": [7, 8], "extract": [5, 9, 15, 17, 18, 30, 31, 36], "extrem": [5, 6, 15, 32], "ey": 6, "eye_color": 6, "f": [6, 15, 32], "fact": 6, "factor": 34, "faint": 15, "fair": 15, "fairi": 15, "fairli": 6, "fall": 10, "fals": [5, 11, 17, 30, 36], "falter": 36, "famili": 15, "familiar": [7, 26], "far": [6, 10, 11, 25], "fare": [29, 30, 31, 33, 34, 36], "fare_in_dkk": 29, "farewel": 15, "fast": [10, 11], "fatima": 33, "favorit": 10, "fd": 32, "featur": [6, 20, 21, 22, 23, 24, 25, 28, 32], "femal": [29, 30, 31, 33, 34, 36], "feng": 8, "fetch": 9, "few": [5, 6, 15, 21, 25, 32, 36], "field": 15, "fig": 4, "figsiz": 4, "figur": [6, 7, 15], "file": [3, 14, 18, 20, 21, 22, 25, 28], "filenam": [6, 32], "filenotfounderror": 32, "filepath": 32, "filepath_of_text": 32, "fill": 29, "filter": [15, 33], "final": [6, 8, 9, 11], "find": [1, 5, 7, 8, 9, 15, 22, 23, 25, 26, 27, 30], "findal": 15, "finder": [23, 25], "fine": 25, "finger": [6, 23, 27, 32], "finicki": 25, "finish": [10, 25], "first": [5, 6, 7, 8, 9, 10, 11, 12, 15, 16, 17, 25, 30, 31, 32, 33, 34, 36], "first_nam": 6, "firstnam": 10, "fish": 10, "fit": 34, "five": [30, 33, 36], "fix": [4, 8, 10, 25, 28], "flabadab": 6, "flag": 28, "flash": 15, "flavor": 2, "flexibl": 31, "float": [8, 9, 11, 18, 29, 30], "float64": [29, 30, 31, 34, 36], "floor": [5, 7], "florenc": [30, 31, 33, 34, 36], "flow": [8, 11, 17], "focu": 26, "focus": [11, 24], "fold": 5, "folder": [23, 25, 30], "follow": [2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 15, 23, 24, 25, 29, 30, 33, 36], "food": 27, "fool": 15, "fora": 19, "fordi": 15, "forgot": 8, "form": [5, 9, 15, 17, 29], "format": [6, 18, 30, 32], "former": 7, "formula": 7, "forskellig": 0, "forward": 9, "found": [12, 20, 21, 25, 30, 31, 34], "foundat": [13, 26], "four": [5, 10, 17], "fourth": [9, 10], "fra": 15, "fraction": [7, 17], "frame": [29, 30, 31, 36], "franc": 15, "free": 26, "frenzi": 15, "frequenc": 32, "frequent": 32, "fridai": 15, "fright": 15, "from": [1, 4, 5, 6, 7, 8, 10, 11, 13, 15, 17, 18, 20, 21, 23, 24, 25, 27, 29], "front": [1, 27, 28], "frontier": 2, "ft": 32, "fuction": 17, "fulfil": 11, "full": [7, 13, 15, 25, 30, 34], "full_nam": 7, "full_text": 32, "fulli": 16, "fun": [6, 11], "function": [2, 6, 7, 9, 10, 12, 15, 18, 24, 28, 29, 30, 31, 32, 33, 34, 36], "fundament": [6, 15, 32], "further": [20, 21, 23, 31, 32, 33], "futrel": [30, 31, 33, 34, 36], "futur": [6, 8, 25, 28], "fynnei": 33, "g": [6, 7, 9, 15, 17, 23, 24, 26, 31, 34], "gain": [15, 26], "gallant": 15, "game": 13, "gather": [11, 26], "gbp": 29, "geeksforgeek": [29, 30], "gender": 34, "gener": [0, 6, 9, 11, 31, 34], "geneva": 15, "geneves": 15, "georg": 31, "german": 15, "germani": 15, "get": [1, 2, 3, 5, 8, 9, 15, 26, 27, 31, 32, 33, 34], "giant": [1, 27], "gilman": 32, "gip": 10, "giraff": 10, "girl": 15, "give": [7, 10, 15, 25, 31, 32], "given": [6, 7, 8, 9, 18, 29, 34], "go": [8, 10, 11, 12, 23, 24, 25, 28, 33], "goal": [9, 11], "godwin": 15, "goe": [5, 8, 9, 10], "gold": [8, 9], "gone": 32, "good": [7, 8, 11, 15, 19, 25], "googl": 19, "gosta": [31, 36], "got": 8, "grade": 11, "graham": [30, 31, 33, 34, 36], "grammar": [8, 17], "grammat": 15, "grasp": 16, "great": [11, 15], "greater": [5, 7, 11, 31, 33, 36], "greedi": 15, "green": [6, 10, 32], "greenland": 15, "greet": 17, "grimm": 15, "group": 10, "grow": 10, "guess": 6, "guessed_correctli": 11, "guid": [4, 8, 15, 22, 23, 24, 25, 28], "gutenberg": 15, "h": [7, 31], "ha": [1, 5, 6, 7, 8, 9, 10, 15, 17, 18, 19, 24, 25, 27, 30, 31, 32, 33, 36], "had": [15, 32], "half": 7, "halo": 15, "hand": [9, 20], "handi": 5, "handiest": [6, 32], "handl": [7, 33, 34], "hang": 15, "hansen": 31, "happen": [6, 7, 15, 23, 32, 36], "har": 0, "harder": 32, "harri": [30, 31, 33, 34, 36], "harrypotter1": 9, "have": [1, 3, 6, 9, 10, 11, 12, 13, 15, 17, 20, 21, 25, 26, 27, 28, 30, 31, 32, 33, 36], "haven": 6, "hdhpk14": 2, "he": [15, 32], "head": 25, "heath": [30, 31, 33, 34, 36], "heaven": 15, "heavi": 15, "heer": 2, "heikkinen": [30, 31, 33, 34, 36], "helen": [30, 31, 33, 34, 36], "hello": [5, 7, 8, 17, 25], "help": [0, 1, 2, 5, 6, 9, 12, 15, 16, 22], "henri": [30, 31, 33, 34, 36], "hentet": 0, "her": 32, "here": [0, 1, 2, 4, 5, 6, 7, 8, 10, 11, 14, 20, 21, 23, 24, 25, 27, 28, 29, 30, 31, 32, 36], "herfra": 0, "herself": 32, "hewlett": [31, 33, 36], "hi": [5, 15, 32], "hickman": 30, "hide": 20, "high": [0, 6, 9, 11], "higher": [6, 8, 11, 30], "highlight": [24, 25], "him": 32, "himself": 32, "hint": [0, 6, 9, 11], "hire": 15, "histor": 15, "hit": 15, "hivb10078u": 14, "hold": [9, 18, 23, 29, 30], "holdgraf": 2, "holdgraf_evidence_2014": 2, "holidai": 15, "homer": 15, "horizont": 29, "hostedtoolcach": 32, "hot": 4, "hover": 21, "how": [0, 1, 3, 6, 7, 8, 11, 12, 15, 17, 19, 23, 24, 26, 27, 28, 30, 31, 32, 33], "howel": [30, 31, 33, 34, 36], "howev": [5, 6, 7, 11, 23, 25, 28, 30, 31, 32], "html": [0, 4], "http": [0, 15], "hugh": 31, "hulda": 33, "human": [2, 6, 15, 27], "hundr": 9, "hung": 15, "hvad": 15, "hvi": 15, "hvordan": 0, "hyphen": 9, "i": [3, 4, 5, 12, 13, 15, 17, 18, 19, 22, 24, 28, 31, 32, 33, 34, 36], "icard": 31, "icon": [20, 21, 23, 24, 25], "id": [10, 25], "idea": [8, 19, 25, 31], "ideal": 6, "identifi": [15, 18, 30, 31], "idiom": 6, "ignor": [8, 17], "igonr": 5, "ii": 4, "ikk": 15, "illustr": [5, 15, 32], "iloc": [35, 36], "imag": 4, "imagin": 11, "immedi": 0, "import": [0, 4, 6, 7, 8, 11, 15, 18, 23, 32], "improv": 11, "inadvert": [1, 27], "inbox": 25, "includ": [0, 3, 4, 5, 8, 9, 10, 11, 15, 17, 21, 23, 25, 28, 30, 31, 32, 34], "inclus": [33, 36], "incomplet": 8, "incorrect": 0, "incorrectli": 8, "increas": 15, "incredibli": 15, "increment": [10, 11], "indent": [10, 11], "indentationerror": 10, "independ": 34, "index": [8, 10, 29, 30, 33], "indexerror": [9, 10], "indic": [0, 6, 8, 10, 15, 17, 18, 23, 29, 30, 31, 36], "indispens": 33, "individu": [5, 6, 24], "inds\u00e6tt": 15, "ineffici": [31, 33], "inf": 14, "infant": 15, "inferior": 15, "info": [31, 36], "inform": [0, 3, 4, 6, 7, 9, 17, 18, 22, 29, 31, 34], "inherit": 6, "init": 3, "initi": [6, 8, 9, 10, 11, 17, 25], "inlin": 2, "inner": [31, 36], "input": [2, 8, 17, 23, 25], "insert": [2, 9, 15, 24, 32], "insid": [6, 8, 10, 31, 32, 36], "insight": [0, 15], "inspect": [15, 30], "inspir": [1, 27], "inspirit": 15, "instal": [1, 12, 20, 21, 26, 27], "instanc": [8, 31, 32], "instantli": 25, "instead": [5, 6, 9, 10, 11, 25, 32, 33, 34], "instruct": [3, 6, 12, 23, 24, 25], "insuper": 15, "int": [5, 6, 7, 8, 11], "int64": [29, 30, 31, 34, 36], "integ": [8, 9, 10, 11, 29, 30, 31, 33, 36], "integr": 25, "intend": 1, "intent": 28, "interact": [4, 5], "interactiveshel": 32, "interest": [15, 27, 31, 34], "intermediari": 25, "intern": 2, "interpret": [7, 9], "interrupt": 11, "interv": [9, 23], "intric": 36, "intro": [1, 27], "introduc": [11, 36], "introduct": [1, 13, 27], "intuit": 33, "invalid": [7, 8, 32], "involv": [18, 33], "io": 0, "io_open": 32, "ion": 4, "ip": 10, "ipykernel_2510": 32, "ipynb": [2, 20, 21], "ipython": 32, "irectori": 30, "irresist": 15, "irrespect": 36, "isin": [31, 36], "isn": [11, 25], "isna": 31, "isol": 30, "issu": [0, 25, 30, 31], "itali": 15, "item": [5, 6], "iter": [9, 10, 11], "its": [6, 7, 8, 9, 10, 11, 15, 18, 23, 24, 25, 27, 28, 29, 31, 32, 33], "itself": [5, 6, 15, 24, 32], "j": [31, 33, 36], "jacqu": [30, 31, 33, 34, 36], "jame": [31, 36], "jeg": [0, 15], "jepsen": 32, "job": [33, 36], "johan": [31, 33, 36], "johanna": 31, "john": [30, 31, 33, 34, 36], "johnston": [30, 31, 33, 34, 36], "join": [5, 9, 15, 17], "jon": 10, "joseph": 33, "jr": [31, 33, 36], "judgement": 15, "juli": 15, "juliet": 9, "juliu": 33, "jump": 25, "june": 15, "juoza": [30, 31, 33, 34, 36], "juptyt": 5, "jupyt": [1, 2, 3, 4, 6, 7, 10, 11, 17, 23, 25, 27, 28, 30], "jupyterbook": [0, 2], "jupytext": 3, "jura": 15, "just": [2, 6, 7, 8, 9, 22, 25, 26, 28, 32, 34], "kaggl": 30, "kald": 15, "kan": [0, 15], "karl": [30, 31, 33, 34, 36], "karolina": [31, 33, 36], "kb": [20, 30, 31, 36], "keep": [4, 6, 7, 10, 11], "kei": [23, 25], "kernel": [3, 6, 11, 22, 30], "keyboard": 23, "kill": 9, "kind": [2, 5, 8, 9, 11, 17], "kingcom": [31, 33, 36], "knight": 2, "know": [1, 6, 8, 11, 17, 24, 27, 31, 32], "knowledg": [11, 26, 31], "known": [5, 8, 17, 30, 31, 33], "koden": 0, "kub": [1, 26, 27], "kubdatalab": 20, "kwarg": 32, "l": [9, 32], "la_": 4, "lab": [5, 6, 10, 11, 17, 23, 25, 28], "label": [6, 7, 18, 29, 31, 33, 34, 36], "lack": 31, "ladi": 15, "laina": [30, 31, 33, 34, 36], "languag": [2, 5, 6, 7, 9, 10, 12, 16, 17, 19, 27, 32], "larg": [5, 10, 30, 36], "larger": 8, "largest": 8, "larsson": 31, "last": [5, 6, 7, 9, 10, 15, 17, 23, 24, 25, 30, 32], "lastnam": 10, "later": [5, 6, 8, 10, 25, 29, 32], "latest": [0, 25, 28], "latter": 7, "launch": 25, "launcher": [23, 25], "lave": 15, "lavet": 0, "lawrenc": 33, "lead": [31, 33], "learn": [1, 12, 15, 19, 22, 24, 25, 27, 31], "least": [8, 9], "leav": [6, 8, 15, 17], "left": [6, 9, 20, 23], "legal": 10, "legend": 4, "lemonad": 32, "len": [6, 7, 8, 9, 10, 15], "lenght": 25, "length": [5, 9, 10, 25, 29, 31, 36], "lengthen": 9, "leonard": [31, 33, 36], "less": [0, 5, 25, 31], "lesson": [5, 7, 9], "let": [1, 3, 6, 7, 8, 17, 27, 31, 32], "letter": [6, 7, 8, 9, 15, 32], "level": [0, 24], "lewi": 30, "lib": 32, "librari": [1, 6, 7, 18, 19, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36], "library_nam": 6, "licens": 25, "light": 9, "like": [2, 3, 5, 6, 7, 8, 9, 10, 11, 15, 16, 17, 18, 20, 21, 22, 23, 25, 29, 30, 31, 32], "likewis": 30, "lili": [30, 31, 33, 34, 36], "lilian": 31, "limit": [0, 25, 30, 31, 36], "line": [2, 3, 4, 6, 7, 8, 9, 10, 11, 17, 18, 25, 28, 29, 30, 31, 32, 33, 34, 36], "line2d": 4, "link": [17, 25], "linspac": 4, "linux": 24, "list": [0, 6, 10, 11, 13, 16, 17, 18, 25, 29, 31, 33, 34, 36], "list_nam": 9, "listen": 15, "liter": [7, 8], "literatur": [15, 32], "littl": [6, 15, 32], "live": [15, 21], "ll": [2, 6, 25, 31, 32], "load": [21, 30, 31, 33, 34, 36], "loan": 7, "loc": [35, 36], "local": [1, 25, 27, 28], "locat": [6, 9, 25, 30, 33], "log": 25, "logic": [5, 10, 17, 27, 31, 36], "login": 25, "logspac": 4, "london": 15, "long": [5, 6, 7, 9, 11, 15, 23, 32], "longer": 25, "look": [5, 6, 7, 8, 9, 10, 11, 15, 22, 29, 32], "loop": [9, 13, 15], "lot": [2, 4, 7, 11, 16, 25, 32], "love": 15, "low": [6, 9, 11], "lower": [6, 8, 15, 32], "lowercas": 15, "lowercase_text": 32, "lt": 32, "lucern": 15, "lullabi": 15, "luxuri": 15, "lw": 4, "lyric": 32, "m": [6, 15, 25, 32], "machin": [11, 25], "maco": [24, 28], "made": [10, 23, 30, 32, 34], "magic": [7, 30], "magistr": 15, "magnitud": 5, "mai": [0, 5, 6, 7, 8, 11, 15, 21, 24, 25, 28, 29, 30, 31, 32, 33, 34, 36], "main": 28, "maintain": [23, 25, 31], "make": [1, 4, 5, 6, 7, 8, 10, 11, 15, 18, 22, 24, 25, 26, 27, 28, 29, 32, 34], "male": [29, 30, 31, 33, 34, 36], "man": [0, 15], "manag": [15, 18, 22, 25, 29], "mang": 15, "mani": [2, 3, 5, 6, 9, 10, 11, 15, 19, 21, 25, 27, 28, 30, 31], "manipul": [30, 31, 32, 36], "manual": [6, 23], "map": 0, "margaret": [15, 30, 31, 33, 34, 36], "marguerit": 33, "mari": [15, 31, 33, 36], "maria": 33, "mark": [6, 7, 8, 17, 24, 28], "markdownfil": 3, "markedli": 2, "markup": 2, "martha": 31, "mask": [33, 36], "masselmani": 33, "master": [31, 33, 36], "match": [7, 15, 29], "materi": [1, 20, 21, 27], "math": [4, 7, 17], "mathemat": 6, "mathemath": 5, "matplotlib": 4, "matter": [5, 6, 11], "mattter": 25, "max": [9, 17, 34], "max_column": 30, "max_row": 30, "maximum": [9, 30], "mbox": 4, "mccarthi": [31, 33, 36], "mcgowan": 33, "md": [2, 3], "me": [15, 21, 32], "mean": [1, 4, 5, 6, 8, 9, 11, 15, 17, 25, 27, 32, 34], "meaning": [8, 10], "meaningful_word": 32, "meaningful_words_t": 32, "meaningfulli": 8, "meant": 21, "measur": 9, "med": 15, "median": 34, "medium": 4, "melani": [1, 27], "melwalsh": 21, "memori": [24, 31, 36], "memory_usag": 30, "mention": [9, 25], "menu": [20, 23, 24, 25], "merchant": 15, "mere": 15, "messag": [6, 7, 10, 17, 28, 32], "met": [5, 11, 17], "metadatacharact": 15, "metaphor": 27, "method": [0, 15, 18, 23, 24, 26, 27, 29, 30, 31, 33, 34, 36], "method_nam": 9, "metric": 11, "mi": 8, "microsoft": 25, "middl": 20, "might": [0, 5, 6, 7, 8, 16, 23, 25, 31, 32, 33, 36], "min": [6, 9, 34], "mind": [10, 25, 27], "miniatur": 15, "minimum": [6, 9], "minu": [5, 9], "minut": [6, 15, 21, 23], "miss": [1, 18, 27, 29, 30, 33, 34, 36], "misspel": [6, 10], "mitski": 32, "mix": 11, "mockeri": 15, "mockingbird": 9, "mode": 22, "moder": 11, "modern": 15, "modif": [17, 31], "modifi": [1, 9, 17, 23, 25, 27, 31], "modul": [8, 11, 17, 32], "modulo": 7, "moment": 11, "momentari": 15, "mondai": 15, "monoton": 15, "montvila": [30, 31, 33, 34, 36], "monypeni": [31, 33, 36], "moran": [31, 36], "more": [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 17, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 36], "moreov": [2, 36], "most": [1, 2, 6, 7, 8, 9, 10, 15, 20, 21, 22, 23, 24, 25, 27, 28, 32, 33, 36], "most_common": 32, "most_frequent_meaningful_word": 32, "mostli": 25, "mous": 24, "move": [9, 11, 22, 25], "mr": [15, 30, 31, 33, 34, 36], "much": [1, 5, 6, 10, 11, 25, 27, 30, 32, 34], "mule": 15, "mulipli": 5, "multipl": [6, 7, 9, 11, 17, 23, 32, 34], "multipli": [5, 7, 29], "murder": 15, "murderess": 15, "music": 32, "must": [0, 2, 7, 8, 10, 11, 25, 26, 28, 36], "mutabl": 6, "my": [10, 15, 32], "my_first_vari": 6, "myself": 32, "myst": 0, "mysteri": 15, "m\u00e5de": 15, "n": [2, 4, 6, 7, 9, 10, 15, 32], "name": [5, 7, 8, 17, 18, 23, 27, 29, 30, 31, 33, 34, 36], "nameerror": [6, 8, 10, 32], "nan": [29, 30, 31, 33, 34, 36], "narrow": 15, "nasser": 33, "navig": [16, 22, 25], "nby": 15, "ndigit": 8, "necess": 15, "necessari": [7, 26], "necessarili": 7, "need": [3, 5, 6, 7, 8, 9, 10, 11, 15, 17, 20, 21, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 36], "neg": [6, 8, 9, 11, 17], "negat": 5, "neither": 8, "nelson": 31, "nest": [6, 10], "neurosci": 2, "never": 11, "new": [6, 7, 8, 9, 10, 11, 12, 15, 17, 23, 24, 25, 32], "new_df": 30, "new_vari": 32, "newer": 23, "newest": [25, 28], "next": [5, 8, 9, 15, 23, 24, 25, 34], "nichola": 33, "ning": 15, "non": [9, 15, 30, 31, 36], "none": [8, 9, 25, 30], "nor": [15, 32], "normal": [7, 8, 10], "north": 15, "norton": [31, 33, 36], "notat": 31, "note": [0, 2, 5, 6, 7, 8, 24, 32, 33], "notebook": [1, 2, 6, 7, 11, 12, 15, 22, 23, 24, 25, 27, 28, 30, 32, 36], "noth": 8, "notic": [5, 6, 10, 25], "notna": [31, 36], "now": [5, 6, 8, 9, 11, 25, 28, 29, 30, 31, 32], "np": [4, 34], "null": [30, 31, 36], "num_as_float": 7, "num_as_int": 7, "num_as_str": 7, "num_class": 7, "num_per_class": 7, "num_stud": 7, "number": [5, 6, 8, 9, 10, 15, 17, 18, 25, 29, 30, 31, 32, 36], "number_of_desired_word": 32, "numer": [5, 18, 34], "numeric_onli": 34, "numpi": 4, "nurs": 15, "o": [9, 15, 25, 30], "o2": [30, 31, 33, 34, 36], "obei": 6, "object": [17, 18, 29, 30, 31, 33, 36], "object_nam": 9, "obtain": 29, "obviou": 0, "oc": 6, "occur": [7, 8, 23], "occurr": 15, "ocean": 15, "odiou": 15, "off": [2, 3, 8, 25], "offer": [1, 27, 31, 33, 36], "offic": [17, 33], "offici": [1, 11, 22, 27, 33, 34], "often": [0, 5, 7, 10, 15, 18, 28, 32], "og": 15, "oh": 15, "ok": 32, "old": [6, 9, 29], "older": 25, "om": 15, "omit": 8, "onc": [6, 9, 10, 17, 25, 32], "one": [2, 5, 6, 7, 8, 9, 10, 11, 15, 17, 24, 25, 28, 29, 32], "ones": [11, 30], "onli": [5, 6, 9, 11, 15, 23, 25, 28, 29, 30, 31, 32, 33, 34, 36], "onlin": [8, 15, 19, 20, 21], "open": [11, 15, 22, 24, 26, 32], "oper": [6, 8, 9, 10, 11, 18, 28, 29, 30, 32, 33, 36], "operand": [5, 7, 17], "opportun": 13, "opposit": [5, 17], "opreat": 5, "opt": 32, "optim": 36, "option": [0, 5, 23, 25, 28, 30], "optr\u00e6der": 15, "oq": [31, 36], "ord": 15, "orden": 15, "order": [5, 6, 8, 9, 10, 24, 25, 29], "org": [0, 2, 15, 25], "organ": [6, 22, 23, 24, 29], "origin": [6, 9, 10, 11, 17, 18, 31, 32, 36], "ork": 30, "oscar": 31, "other": [1, 3, 6, 7, 8, 9, 10, 15, 17, 19, 20, 21, 23, 24, 25, 26, 27, 28, 30, 32, 33], "otherwis": [5, 8, 10, 11], "oticaps": 9, "our": [1, 6, 10, 12, 13, 15, 17, 19, 25, 26, 27, 28, 32, 34], "ourselv": [28, 32], "out": [1, 4, 5, 6, 7, 8, 9, 10, 11, 15, 25, 27, 30, 32], "outer": [8, 31, 36], "output": [3, 5, 6, 7, 8, 9, 11, 17, 24, 25, 29, 32], "outsid": [6, 11, 32], "over": [10, 11, 21, 25, 32], "overlook": 0, "overview": [2, 5, 30], "overwrit": [6, 10], "overwritten": [9, 10], "owen": [30, 31, 33, 34, 36], "own": [6, 9, 11, 12, 20, 21, 31, 32, 33], "p": [10, 30], "pacif": 15, "packag": [25, 28, 32], "page": [1, 2, 3, 10, 11, 15, 20, 21, 25, 26, 27, 30, 31], "pages_read": 10, "pages_remain": 10, "pages_written": 11, "pain": 10, "palsson": [31, 33, 36], "panda": [1, 16, 17, 26, 27, 35], "paper": 11, "paramet": [17, 29, 30], "parch": [30, 31, 33, 34, 36], "parent": 23, "parenthes": [6, 8, 11, 24, 29, 36], "parser": 0, "part": [1, 6, 7, 9, 17, 26, 27, 31, 33], "parti": 25, "particip": 13, "particular": [9, 17, 18], "particularli": [24, 33, 36], "partli": 15, "paslei": 2, "pass": [6, 8, 17, 34], "passeng": [30, 34, 36], "passengerid": [30, 31, 33, 34, 36], "past": [11, 23], "path": [3, 19, 23], "pathwai": 25, "patient": 21, "patrick": [30, 31, 33, 34, 36], "pattern": [10, 15, 34], "pc": [25, 30, 31, 33, 34, 36], "pclass": [30, 31, 33, 34, 36], "pd": [28, 30, 31, 33, 34, 36], "pdf": [1, 27], "peel": [30, 31, 33, 34, 36], "peopl": [6, 7, 8, 25, 28, 32], "per": [7, 34], "percentag": 5, "perfect": 7, "perfectli": 11, "perform": [6, 7, 11, 15, 17, 24, 31, 33, 36], "perhap": 25, "period": [7, 15], "perkin": 32, "persdott": 31, "persist": 10, "person": [6, 8], "perspect": 27, "peter": 31, "petersburgh": 15, "pg84": 15, "philosoph": 9, "phrase": 15, "pick": 32, "pictur": 15, "piec": 17, "pig": 10, "ping": 8, "pip": 28, "pip3": 25, "pitfal": [0, 31], "place": [5, 8, 9, 15, 19, 30, 31], "placement": 10, "plain": [15, 18], "plank": 33, "platform": 19, "pleas": [1, 12, 27], "plot": 4, "plt": 4, "plu": [7, 15, 24], "point": [15, 17, 18, 25, 32], "pointer": 8, "poor": [8, 15], "poorli": 32, "pop": [9, 25], "popular": 19, "portion": [5, 9, 18], "portrait": 15, "posit": [5, 6, 9, 11, 15, 17, 29, 33, 36], "possess": 13, "possibl": [15, 17, 25], "possibli": 7, "post": [4, 11], "potenti": [0, 18, 31, 36], "potter": [31, 33, 36], "pow": 5, "power": [2, 5, 31, 33, 34], "powershel": 23, "practic": [6, 24], "pre": 17, "preced": [11, 15], "precis": [6, 8, 17, 31, 32], "predefin": 34, "predict": [2, 8, 25], "prefer": 24, "preinstal": 25, "prepar": 13, "presenc": [3, 31], "present": [1, 27, 36], "preserv": 15, "press": [11, 23, 24, 25], "pressur": [11, 30], "presumpt": 15, "prevent": 7, "preview": 9, "previou": [6, 10, 15, 31, 34, 36], "price": [29, 34], "primari": [19, 20], "print": [3, 7, 8, 9, 10, 15, 17, 20, 21], "printout": 6, "prior": 21, "privat": 25, "probabl": [6, 32], "problem": [0, 7, 8, 10], "problemat": 8, "process": [5, 11, 15, 16, 17, 25], "produc": [8, 9, 10], "product": 5, "program": [5, 6, 7, 8, 9, 10, 16, 17, 19, 25, 32], "progress": [15, 23], "project": [6, 11, 15, 20, 21, 23], "prometheu": 15, "promis": [6, 15, 32], "prompt": [23, 28], "proof": 15, "prop_cycl": 4, "proper": [1, 27], "properli": [2, 10, 11, 32], "properti": [5, 18, 31, 33, 36], "proverbi": [1, 27], "provid": [6, 11, 17, 18, 22, 23, 25, 26, 28, 29, 30, 31, 33, 34, 36], "pseudocod": 11, "puberti": 32, "punctuat": [6, 8, 32], "punktum": 15, "pure": [33, 36], "purpos": [2, 8], "put": [6, 15, 32], "pwd": 30, "py": 32, "pyplot": 4, "python": [1, 5, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 23, 26, 27, 28, 29, 30, 31, 32, 36], "python3": [25, 32], "python_regex": 15, "p\u00e5": 15, "q": [30, 31, 33, 34, 36], "queri": 7, "question": [5, 6, 7, 8, 9, 10, 11], "quick": [24, 30], "quickli": [24, 32], "quit": 11, "quot": [7, 10, 24], "quotat": [6, 7, 8, 17], "quotient": 5, "r": 15, "rae": 32, "rain": 15, "rais": 32, "ramsai": 2, "randint": 11, "randn": 4, "random": [4, 11], "rang": [4, 5, 9, 11, 17, 33, 36], "rangeindex": [30, 31, 36], "rapidli": 15, "rare": 9, "rate": 29, "rather": [6, 9, 10, 31, 33], "raw_text": 15, "rcparam": 4, "re": [11, 15, 25, 31], "reach": 10, "read": [6, 7, 8, 10, 11, 17, 25, 27, 28, 31, 32, 33, 34, 35, 36], "read_": 30, "read_csv": [30, 31, 33, 34, 36], "read_excel": 30, "readabl": [6, 32, 33], "reader": [0, 11, 28], "readi": [25, 30], "readthedoc": 0, "real": [6, 11, 17, 32], "realiti": 15, "realiz": 15, "realli": 11, "realpython": 25, "rearrang": 24, "reason": [7, 8, 27, 31], "reassign": 6, "recent": [6, 7, 8, 9, 10, 23, 32], "recognit": [1, 27], "recommend": [6, 11, 25, 26, 27, 31], "recompens": 15, "rectangular": 34, "red": [6, 10], "redgreenblu": 10, "refer": [0, 2, 5, 7, 9, 11, 16, 17, 18], "reflect": [20, 23], "regard": 8, "regardless": 24, "regex101": 15, "regular": [2, 9, 11, 15, 23], "reinforc": [6, 32], "rel": [6, 15, 30], "relat": [0, 11, 15, 19, 28], "releas": 25, "relev": [6, 15, 31], "reli": [28, 31], "reliabl": [25, 31], "remain": [7, 8, 10, 11, 15], "remaind": [5, 7], "remark": 15, "rememb": [6, 7, 8, 9, 10, 11, 12, 19, 32, 36], "remov": [9, 10, 15, 17, 25, 32], "renam": 23, "render": 2, "reopen": 6, "reorder": [10, 24], "repeat": [7, 8, 10, 17], "repeatedli": 11, "replac": [6, 10, 15, 23], "replic": 21, "report": [5, 6, 8, 9], "repres": [5, 7, 9, 17, 18, 29, 30, 31, 34, 36], "reproduc": 4, "republ": 15, "request": [15, 25], "requir": [0, 7, 8, 11, 17, 24, 25, 26, 27, 28, 29, 31, 36], "rerun": [6, 24], "research": 25, "reserv": [6, 32], "reset": 6, "reshap": [18, 29], "resist": [6, 32], "resourc": [19, 22], "respect": [23, 25, 34, 36], "respond": 25, "ressourc": [1, 27], "rest": [3, 15], "restor": 15, "result": [5, 6, 7, 8, 9, 10, 11, 15, 30, 31, 32, 34, 36], "retain": 10, "rethink": 6, "retreat": 15, "retriev": 15, "return": [5, 7, 9, 11, 15, 17, 25, 29, 30, 31, 32, 33, 34, 36], "reusabl": 17, "reuss": 15, "rev": [30, 31, 33, 34, 36], "reveal": [20, 21], "revers": 9, "revert": 23, "review": [12, 15, 27], "rewrit": 33, "rgb": 10, "rice": [31, 33, 36], "rich": 8, "richard": [31, 33, 36], "rid": 15, "right": [5, 6, 7, 9, 15, 21, 23, 25], "rint": 30, "rise": 15, "risk": 0, "robert": [2, 15], "robust": 36, "rock": 15, "roman": 15, "romeo": 9, "room": 9, "root": 25, "row": [7, 18, 29, 30, 34], "rule": [6, 8, 11, 17], "run": [1, 3, 5, 6, 8, 10, 11, 12, 20, 21, 22, 23, 26, 27, 28, 30, 32], "runtim": [9, 10], "russia": 15, "russian": 15, "rut": 33, "sa": 15, "safe": [9, 31], "sai": [6, 7, 15, 25], "sake": 32, "salli": [31, 33, 36], "same": [2, 5, 6, 8, 9, 11, 21, 24, 29, 30, 31, 32, 33, 34], "sampl": 4, "san": 15, "sandstrom": 33, "saundercock": 33, "save": [22, 23, 25, 30], "savil": 15, "saw": 31, "scenario": [9, 31, 33, 36], "scene": 15, "scienc": [6, 19], "scipt": 11, "scissor": 24, "scope": 15, "scratch": 17, "screen": 25, "script": [6, 13, 23, 28, 32], "scroll": 25, "se": 0, "sea": 15, "search": [15, 23], "season": 10, "sec": 6, "second": [5, 6, 7, 9, 10, 11, 13, 15, 23, 33], "secret": 11, "secret_numb": 11, "section": [5, 12, 22, 23, 24], "secur": 23, "see": [0, 1, 2, 3, 4, 6, 7, 8, 9, 12, 15, 17, 20, 21, 23, 24, 25, 28, 29, 30, 31, 32, 34], "seealso": 0, "seed": 4, "seem": [5, 16, 17], "seen": [6, 8, 31, 33, 36], "select": [6, 9, 18, 23, 24, 25, 29, 30, 34], "selector": 31, "self": [6, 8, 25], "sell": 25, "selma": 31, "semant": 27, "semest": 7, "sens": [5, 6, 7, 8, 15, 25, 34], "sensit": 25, "sentenc": 8, "separ": [6, 7, 9, 18, 28, 30, 36], "sequenc": [5, 10, 17, 18, 32], "seri": [6, 17, 25], "seriou": 0, "serv": 2, "servant": 15, "server": 23, "servic": [21, 23], "session": 25, "set": [5, 6, 7, 9, 10, 11, 15, 17, 18, 23, 24, 25, 26, 29, 30, 32], "set_opt": 30, "settingwithcopywarn": 31, "sever": [0, 11, 25, 26], "sex": [29, 30, 31, 33, 34, 36], "shakespear": 15, "shape": [18, 29, 31, 36], "share": 11, "shatter": 15, "she": [5, 32], "shell": 28, "shellei": 15, "shift": [23, 24, 27], "short": [5, 6, 11, 13, 17, 32, 33], "shortcut": [23, 34], "shorten": 9, "should": [1, 3, 7, 10, 11, 20, 25, 27, 30, 32], "shoulder": [1, 27], "show": [2, 3, 6, 8, 10, 15, 23, 30, 32], "shown": [5, 9, 25], "shut": [8, 23], "shutdown": 23, "sibsp": [30, 31, 33, 34, 36], "side": [0, 5, 9, 25, 31], "sidebar": [20, 23], "sign": [1, 4, 6, 7, 15, 24, 27, 32], "signal": 10, "similar": [0, 2, 9, 11, 12, 29], "similarli": [31, 33], "similiar": 11, "simpl": [2, 6, 8, 9, 10, 11, 18, 26, 30, 31, 33], "simpler": [8, 32], "simpli": [10, 25, 32], "simplifi": [18, 28, 29, 33, 36], "simultan": 31, "sin": 15, "sinc": [7, 8, 11], "singl": [6, 7, 9, 17, 18, 23, 31, 32, 36], "single_lett": 10, "site": [15, 32], "situat": [8, 24], "six": 15, "size": [9, 34], "skew": 34, "skill": 11, "skip": [25, 30], "skrevet": 15, "skull": 15, "slice": [33, 36], "slight": 2, "slightli": [8, 25], "slither": 25, "sloper": 33, "slow": [9, 11, 25], "small": [2, 13, 15, 17], "smaller": [8, 11, 17], "smallest": 8, "smart": 15, "smith": 10, "smooth": 25, "sm\u00e5t": 15, "snake": 6, "so": [0, 1, 3, 5, 6, 7, 9, 10, 11, 12, 15, 17, 21, 23, 25, 26, 27, 28, 30, 32, 33], "social": 6, "softwar": [17, 25, 29], "solut": 33, "solv": [0, 6, 8, 11, 15, 25], "some": [2, 4, 5, 6, 7, 9, 10, 11, 15, 17, 19, 25, 26, 31, 32], "someon": 6, "someth": [0, 6, 10, 11, 17, 25, 29, 32], "sometim": [6, 25, 32], "song": 9, "sort": 15, "soton": [31, 36], "soul": 15, "sourc": [6, 8, 20, 21, 27, 30], "southern": 15, "sp": 32, "space": [5, 6, 10, 11, 15, 17, 23, 25, 32], "span": 2, "special": [0, 2, 5, 6, 8, 15, 18, 31, 33, 36], "specif": [2, 7, 9, 11, 17, 18, 23, 30, 33, 34], "specifi": [5, 8, 9, 10, 17, 29, 30, 33, 36], "speed": [11, 33], "spell": 8, "sphinx": 2, "split": [32, 34], "split_into_word": 32, "split_word": 32, "spoke": 8, "spotlight": 23, "spreadsheet": [7, 29, 30], "spring": 10, "squar": [5, 6, 7, 9, 24, 31, 33], "ssl": 25, "st": 15, "stabl": 0, "stackoverflow": 19, "staff": 25, "stai": 11, "stand": [1, 2, 15, 17, 18, 27], "standard": [0, 6, 7], "start": [0, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 23, 26, 29, 31, 32, 33], "starter": 2, "state": [4, 5, 10, 23, 24], "statement": [6, 8, 9, 18, 28, 29, 33, 36], "statist": 35, "std": 34, "steadi": 15, "steder": 15, "step": [10, 11, 24, 34], "still": [6, 7, 10, 28], "stitch": 15, "stoker": 32, "ston": [30, 31, 33, 34, 36], "stone": [9, 31, 32], "stop": [5, 6, 9, 11, 15, 17, 23], "stopword": 32, "storag": [6, 9], "store": [2, 7, 9, 17, 18, 25, 29, 30, 32], "stori": 15, "storm": 15, "stort": 15, "str": [5, 7, 8, 9], "straightforward": [33, 36], "strang": 15, "strengthen": [6, 32], "stride": 9, "string": [11, 15, 29, 30], "strip": 15, "strong": [11, 15], "strongli": 10, "structur": [2, 9, 11, 17, 18, 29, 34], "student": [1, 25, 26], "stuff": 25, "style": 0, "subfold": 30, "subplot": 4, "subscript": 6, "subselect": 34, "subsequ": 23, "subset": [30, 33, 34, 35], "substr": 5, "subtract": [8, 17], "succesfulli": 25, "success": 24, "suddenli": 15, "suggest": [0, 19, 20, 21], "sum": [5, 30], "summari": [30, 33, 35], "summer": 10, "sundai": 15, "super": 15, "support": [3, 8, 9, 30, 34], "suppos": 11, "sure": [1, 4, 11, 25, 26, 27, 28, 32], "surround": [5, 17, 36], "surveil": 25, "surviv": [30, 31, 33, 34, 36], "sutehal": [31, 36], "sw": 32, "swap": [18, 29], "sweat": 11, "switz": 15, "symbol": [6, 15, 17], "syntax": [0, 2, 5, 9, 18, 28, 29, 31, 32, 33], "syntaxerror": [8, 32], "syntaxwarn": 32, "system": [11, 25], "s\u00e5": [0, 15], "t": [2, 4, 5, 6, 7, 8, 9, 11, 15, 16, 25, 32], "tab": [10, 11, 17, 23, 25], "tabl": [6, 10, 18, 34, 36], "tabular": [18, 31, 35], "take": [0, 5, 6, 8, 9, 10, 11, 13, 15, 17, 21, 25], "taken": 11, "tale": 15, "talk": 6, "tap": 23, "task": [10, 15, 17, 24, 31, 33, 36], "taught": 7, "teach": [1, 7, 15, 27], "technic": [25, 31, 33], "technologi": 19, "tediou": 25, "tekstern": 15, "tell": [5, 8, 10, 25, 31, 36], "temperatur": 9, "temperature_001": 9, "temperature_002": 9, "temporari": 6, "tempt": [6, 32], "temptat": [6, 32], "ten": 7, "tendenc": 15, "term": [6, 8, 9, 15, 16, 25], "termin": [23, 28], "terminologi": 16, "terribl": 15, "test": [7, 15], "tester": 15, "tex": 4, "text": [2, 3, 5, 6, 7, 15, 17, 18, 23, 24, 29, 32], "text_end": 15, "text_start": 15, "th": [15, 30, 31, 33, 34, 36], "than": [5, 6, 7, 8, 10, 11, 25, 30, 31, 32, 33, 36], "thank": [1, 27], "thei": [2, 5, 7, 8, 9, 10, 11, 15, 25, 31, 32, 33, 36], "theirs": 32, "them": [5, 6, 8, 9, 10, 11, 12, 17, 23, 24, 25, 26, 31, 32, 33], "themselv": 32, "therefor": [5, 9, 34], "thermomet": 9, "thi": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 15, 16, 17, 18, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 34, 36], "thing": [3, 5, 6, 10, 11, 15, 19], "think": [6, 7, 10, 17, 20, 31, 32], "third": [7, 9, 10, 25], "thoma": [15, 31, 33, 36], "thompson": 33, "those": [2, 6, 31, 32, 33], "though": [5, 28, 30, 32], "three": [6, 7, 20, 25, 29, 30], "threshold": 36, "through": [10, 11, 12, 16, 22, 25, 28, 31, 32], "throw": 7, "thu": [5, 6, 8, 9, 11], "thunderstorm": 15, "thursdai": 15, "ti": 9, "ticket": [30, 31, 33, 34, 36], "till": 11, "time": [1, 5, 7, 9, 10, 11, 15, 17, 23, 25, 27, 31, 34], "timothi": [31, 33, 36], "tin": [8, 9], "tini": [6, 32], "tip": [0, 22, 24], "tire": [6, 32], "titan": [31, 33, 34, 36], "titl": 29, "tjekk": 15, "tmp": 32, "to_": 30, "to_excel": 30, "todai": 15, "togeth": [1, 5, 9, 15, 17, 25, 27, 28, 34], "toggl": 20, "too": [6, 11, 30, 32], "took": 11, "tool": [2, 15, 17, 25, 31, 33, 36], "toolbar": [20, 21, 23, 24], "top": [3, 11, 20, 21, 23, 24, 28], "topic": 13, "torborg": 33, "torpor": 15, "tot_sec": 6, "total": [10, 30, 31, 36], "total_second": 6, "tow": 15, "trace": [6, 8, 11], "traceback": [6, 7, 8, 9, 10, 32], "track": 10, "trackpad": 23, "tradit": 7, "train": 30, "travers": 9, "treat": [3, 5, 6], "trigger": 31, "troubl": [19, 25], "true": [5, 6, 15, 17, 30, 31, 32, 34, 36], "true_upper_cas": 15, "truncat": 30, "truth": [5, 17], "try": [6, 7, 8, 10, 11, 15, 25, 27], "tupl": [29, 30, 31, 36], "turk": 15, "turkish": 15, "turn": [11, 24, 33], "tutori": 34, "twice": [8, 15, 24], "two": [1, 2, 3, 5, 7, 8, 9, 11, 15, 17, 23, 24, 25, 27, 29, 30, 31, 34, 36], "txt": [15, 32], "type": [0, 6, 8, 10, 11, 12, 18, 23, 24, 25, 29, 30, 31, 34, 36], "typecast": 7, "typeerror": [6, 7, 8, 9], "typic": [0, 6, 8, 15, 17, 18, 29, 31, 34], "u": [1, 6, 8, 11, 15, 20, 27, 30, 31, 36], "ucph": 17, "unchang": [5, 17], "uncheck": 24, "uncl": 15, "unclear": 32, "uncouth": 15, "undefin": 18, "under": [12, 15, 23, 25, 32], "underneath": 5, "underscor": [6, 15, 32], "understand": [0, 3, 5, 6, 8, 10, 11, 13, 15, 16, 17, 22, 26, 30, 32], "undo": 23, "unexpect": [8, 10, 11, 31], "unfamiliar": 16, "unintend": 31, "uniqu": 18, "univers": [1, 5, 25, 26, 27], "unknown": 30, "unlik": [6, 25], "unlimit": 15, "unnest": [10, 11], "unreason": 7, "unsupport": 7, "unsur": 23, "untermin": 8, "until": [6, 8, 10, 11, 15, 17, 25, 32], "up": [1, 5, 7, 8, 9, 10, 11, 24, 25, 27, 32, 33], "updat": [7, 10, 25, 28, 29], "upload": [23, 25], "upper": [6, 8, 32], "upper_case_word": 15, "uppercas": 15, "upward": 24, "urg": 25, "url": [15, 23], "urllib": 15, "urlopen": 15, "us": [0, 2, 3, 5, 8, 9, 12, 15, 17, 18, 19, 22, 23, 24, 26, 28, 29, 30, 32, 34, 36], "usag": [31, 36], "user": [11, 22, 25], "user_guess": 11, "user_input": 11, "usual": [6, 7, 8, 11, 17, 34], "utf": [15, 32], "util": [23, 25], "uw": 21, "u\u00e6gt": 15, "vagabond": 15, "valid": 36, "valu": [5, 10, 11, 17, 18, 29, 32, 33, 34, 36], "valuabl": 7, "value_count": 34, "valueerror": [7, 32], "vand": 33, "vander": [31, 33, 36], "vari": [5, 8], "variabl": [5, 8, 9, 11, 12, 25, 30, 34], "variat": 2, "variou": [8, 11, 24, 29], "ve": [15, 16, 31, 32], "ved": 15, "verbos": 33, "veri": [0, 10, 12, 15, 29, 30, 32], "versatil": 36, "version": [15, 21, 23, 28], "versu": 34, "vestrom": 33, "via": 28, "victor": [31, 33, 36], "video": 33, "view": [7, 23, 29, 30], "vil": 15, "villag": 15, "violat": 8, "violent": 15, "vise": 0, "visit": [1, 8, 22, 27], "v\u00e6re": 15, "w": [30, 31, 32, 33, 34, 36], "w3school": 15, "wa": [9, 10, 15, 20, 21, 23, 27, 32], "wai": [5, 6, 7, 8, 11, 12, 15, 17, 18, 26, 27, 28, 29, 31, 33], "walk": 25, "wallpap": 32, "wallpaper_charlott": 32, "walsh": [1, 7, 27], "walton": 15, "want": [4, 6, 8, 10, 11, 15, 23, 24, 25, 28, 30, 31, 32, 33], "warn": [0, 31], "watch": 15, "wauw": 11, "we": [1, 5, 6, 7, 8, 9, 10, 11, 12, 15, 16, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36], "wear": [6, 32], "web": [19, 23], "webpag": 20, "websit": [15, 19, 25], "week": 15, "welcom": [11, 26], "well": [1, 4, 6, 7, 8, 13, 25, 27, 32, 34], "wendi": 2, "were": [6, 10, 11, 15, 25, 32], "whale": 10, "what": [5, 6, 10, 15, 17, 20, 25, 32, 33, 34, 36], "wheadon": 31, "when": [2, 3, 6, 9, 10, 15, 16, 17, 19, 23, 24, 25, 28, 29, 32, 36], "whenev": 16, "where": [0, 6, 7, 8, 9, 10, 11, 15, 17, 18, 23, 24, 25, 28, 29, 30, 31, 32, 33, 36], "wherea": [2, 29, 31, 34, 36], "whether": [2, 5, 17, 22, 24, 25, 29, 30, 31], "which": [3, 5, 6, 7, 8, 9, 10, 11, 12, 15, 17, 24, 25, 28, 29, 30, 31, 32, 36], "while": [5, 6, 8, 9, 15, 17, 23, 24, 25, 29, 31, 32, 33], "white": 15, "who": [6, 25, 32], "whole": [5, 7, 9, 10, 15, 17, 30], "whom": 32, "whose": [1, 15, 17, 27, 30], "why": [5, 6, 7, 9, 15, 31, 32], "wide": [18, 28, 29, 33], "widespread": 15, "widow": 15, "wikipedia": 27, "wil": 7, "william": [30, 31, 33, 34, 36], "wilson": [31, 33, 36], "win": 25, "window": [24, 28], "winter": 10, "wise": 36, "wish": [25, 26], "within": [9, 11, 17, 23, 24, 29, 30, 31, 34], "without": [6, 9, 10, 11, 17, 21, 24, 29, 30, 31], "wollstonecraft": 15, "women_louisa": 32, "won": [6, 32], "wonder": 5, "wonderland_lewi": 32, "word": [6, 8, 10, 15, 30, 32], "work": [1, 4, 5, 6, 7, 11, 12, 15, 17, 20, 21, 22, 23, 24, 25, 26, 27, 28, 31, 32], "workbook": 32, "workflow": [22, 24], "workshop": 15, "workspac": 22, "world": [7, 8, 17], "worri": [6, 25, 30, 32], "would": [0, 5, 6, 7, 9, 10, 11, 20, 21, 29, 31, 32], "wrap": [6, 24, 27], "wreck": 15, "wretch": 15, "write": [0, 2, 3, 6, 7, 8, 9, 10, 11, 13, 15, 17, 24, 25, 31, 35], "written": [2, 3, 7, 11, 15, 17, 30], "wrong": [8, 11], "www": 15, "x": [5, 6, 9, 17, 25], "x64": 32, "xlsx": 30, "y": [5, 6, 9, 15], "year": [6, 7], "yellow": 32, "yesterdai": 15, "yet": [6, 16], "you": [0, 1, 2, 3, 4, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 27, 28, 29, 30, 31, 32, 33, 36], "your": [1, 2, 3, 4, 5, 6, 8, 10, 11, 12, 15, 17, 19, 20, 21, 22, 23, 24, 26, 27, 30, 31], "your_chosen_vari": 32, "your_vari": 7, "yourself": [6, 32], "yourselv": 32, "z": [8, 32], "zero": [5, 7, 8, 9, 10, 11, 17, 24], "zeroth": 9, "\u00e6gte": 15}, "titles": ["Admonition Boxes", "Welcome", "Markdown Files", "Notebooks with MyST Markdown", "Content with notebooks", "Data Types", "Variables and Assignment", "Data Types and Type Conversion", "Built-in Functions and Help", "Lists", "For Loops", "Conditionals", "Part 1", "Part 2", "2024 Open Data Science", "RegEx and Frankenstein", "Learn All the New Words", "Dictionary for Absolute Beginners", "Dictionary for Pandas", "Get Help and Find Documentation", "Interact With This Book", "How to Interact With This Book", "Get Started with JupyterLab", "Open and Navigate JupyterLab", "Code in JupyterLab", "Install & Run Python", "Sign Up for a Course", "Welcome", "Getting Started with Pandas", "Pandas DataFrame", "Read and Write Tabular Data", "Subsets", "Variables", "loc and iloc", "Summary Statistics", "Getting Started with Data Analysis", "Subsets"], "titleterms": {"1": [6, 7, 8, 9, 10, 11, 12, 23, 25], "2": [6, 7, 8, 9, 10, 11, 13, 23, 25], "2024": 14, "3": [6, 7, 8, 9, 10, 11, 25], "4": [6, 7, 8, 9, 10, 11], "5": [6, 7, 9, 10], "6": [7, 9, 10], "7": [9, 10], "8": 9, "A": [11, 15, 30, 36], "For": [10, 23], "The": [5, 8, 11], "To": 32, "With": [20, 21], "about": [26, 33], "abov": 11, "absolut": 17, "accumul": 10, "ad": 7, "add": [3, 25], "addit": 11, "admonit": 0, "aggreg": 34, "all": 16, "along": 15, "alt": 0, "ambigu": 31, "an": [0, 3, 11], "analys": 11, "analysi": 35, "andetst": 0, "anoth": 25, "append": [9, 17, 29], "appl": [23, 25], "ar": [6, 9, 11, 26, 31], "argument": [8, 17], "aria": [1, 20, 21, 23, 25, 27], "arithmet": 17, "assign": [6, 7, 17, 32], "attend": 26, "attribut": [1, 18, 27, 29], "auto": 24, "automat": 7, "avoid": 31, "b": 15, "back": 9, "bar": 20, "base": [29, 31, 36], "befor": [6, 26], "beginn": 17, "between": [6, 9], "beyond": 9, "blank": [9, 10, 11], "block": [4, 11], "book": [0, 20, 21], "boolean": [5, 17], "both": [23, 25], "box": 0, "bracket": [15, 24, 36], "built": [5, 8], "calcul": 6, "call": [31, 36], "can": [5, 6, 7], "case": 6, "categor": 34, "categori": 34, "cell": [3, 6, 24], "certain": 8, "chang": [7, 9], "charact": [8, 9], "check": 25, "choos": [6, 7, 32], "citat": 2, "class": [0, 1, 6, 7, 8, 9, 10, 11, 20, 21, 23, 25, 27, 29, 30], "classifi": 10, "click": [20, 21, 25], "close": 24, "cloud": 21, "code": [4, 5, 11, 20, 21, 24], "colab": 25, "column": [29, 30, 31, 33, 36], "combin": [31, 33], "command": 24, "comment": [8, 17], "common": [0, 1, 23, 27], "comparison": 5, "complex": 31, "compound": 11, "concaten": [5, 17], "condit": [11, 17, 31, 36], "contain": 9, "content": [4, 12, 13, 16, 22, 35], "control": [7, 11], "convent": 6, "convers": 7, "copi": 9, "correctli": 25, "count": 34, "cours": 26, "creat": [3, 6, 24, 29, 30, 31, 33, 34, 36], "creativ": [1, 27], "csv": [18, 30, 31, 33, 34, 36], "cumul": 10, "curli": 15, "current": 30, "data": [5, 7, 9, 14, 17, 29, 30, 34, 35], "datafram": [18, 29, 30, 31, 33, 34, 36], "deal": 7, "default": 8, "delet": [9, 24], "den": 0, "dereft": 0, "descript": 34, "develop": 17, "dice": 11, "dictionari": [17, 18, 29], "did": 25, "differ": [7, 8, 9], "direct": 2, "directori": [23, 30], "displai": [6, 32], "divis": 7, "do": 7, "document": [8, 17, 19], "doe": 11, "doubl": 5, "doubt": 26, "download": [20, 21, 25, 30], "dtype": 30, "edit": 24, "elif": 11, "els": 11, "empti": 9, "end": 9, "environ": 17, "equal": 5, "er": 0, "erda": 25, "error": [8, 10], "everi": 8, "exactli": 31, "exampl": [0, 3, 11], "excel": 30, "exclus": 31, "execut": [10, 11], "exercis": [6, 7, 8, 9, 10, 11, 29, 30], "exist": 29, "expand": [20, 21], "expon": 5, "express": [31, 36], "fa": [1, 6, 7, 8, 9, 10, 11, 20, 21, 23, 25, 27, 29, 30], "fab": [1, 20, 21, 23, 25, 27], "file": [2, 15, 23, 30, 31, 32, 33, 34, 36], "fill": [9, 10, 11], "filter": [30, 31, 36], "find": [6, 19], "first": 29, "float": [5, 7, 17], "fra": 0, "frankenstein": 15, "freeli": 7, "from": [9, 28, 30, 31, 32, 33, 34, 36], "full": [20, 21], "function": [5, 8, 11, 17], "fundet": 0, "f\u00f8lger": 0, "f\u00f8rst": 0, "game": 11, "geeksforgeek": 19, "get": [6, 19, 22, 25, 28, 30, 35], "github": [20, 21], "good": 32, "googl": 25, "group": 34, "groupbi": 34, "guess": 11, "handl": 31, "happen": 8, "have": [5, 7, 8], "head": 30, "help": [8, 19], "her": 0, "herund": 0, "hidden": [1, 20, 21, 23, 25, 27], "how": [5, 9, 10, 21, 25], "i": [0, 1, 2, 6, 7, 8, 9, 10, 11, 20, 21, 23, 25, 27, 29, 30], "id": 17, "identifi": 10, "iloc": [31, 33], "immut": [9, 17], "impact": 11, "import": [28, 29, 30, 31, 33, 34, 36], "inclus": 31, "indent": 17, "index": [5, 6, 9, 17, 18, 31, 36], "infinit": 11, "info": 30, "inform": [30, 33], "input": 11, "insid": [5, 11], "instal": [25, 28], "integ": [5, 6, 7, 17], "integr": 17, "interact": [20, 21], "introduc": 31, "isna": 30, "issu": [20, 21], "item": [9, 10], "jupyt": [0, 20, 21, 32], "jupyterlab": [22, 23, 24, 25], "kei": [5, 6, 7, 8, 9, 10, 11, 29, 30, 31, 34, 36], "kernel": 24, "keyboard": 24, "kind": 7, "kode": 0, "larg": 9, "last": 8, "learn": [2, 5, 6, 7, 8, 9, 10, 11, 16], "length": [6, 7], "librari": 17, "limit": [6, 32], "list": [9, 15, 32], "loc": [31, 33], "look": 25, "loop": [10, 11, 17], "mac": 25, "maco": [23, 25], "mai": 9, "make": [20, 21], "manag": 24, "mark": [5, 15], "markdown": [0, 2, 3, 4], "mathemat": 5, "max": 8, "meaning": 6, "media": 11, "memori": 30, "messag": 8, "metacharact": 15, "metadata": 3, "method": [5, 9, 25], "min": 8, "miss": 31, "mix": 7, "mode": 24, "modulenotfounderror": 28, "modulu": 5, "more": [2, 15, 33], "move": 24, "multipl": [5, 10, 31, 36], "must": 6, "mutabl": [9, 17], "my": 0, "myst": [2, 3, 4], "name": [6, 10, 32], "nan": 18, "navig": 23, "new": [16, 29], "note": [11, 30, 36], "notebook": [3, 4, 20, 21], "notic": [9, 11], "notna": 30, "number": [7, 11, 34], "object": [5, 6, 7, 8, 9, 10, 11], "off": [6, 32], "offici": [19, 25], "often": 11, "onc": 11, "onli": [7, 8], "open": [14, 20, 21, 23, 25], "oper": [5, 7, 17, 31, 34], "option": 24, "order": 11, "our": 29, "output": [4, 20, 21], "overwrit": 9, "own": 29, "panda": [18, 19, 28, 29, 30, 31, 33, 34, 36], "part": [12, 13], "path": 25, "pd": [18, 29], "pdf": [20, 21], "pencil": [6, 7, 8, 9, 10, 11, 29, 30], "persist": 6, "pip": 25, "pipe": 15, "plai": 20, "point": [5, 6, 7, 8, 9, 10, 11, 29, 30, 31, 34, 36], "posit": 31, "powershel": 25, "predict": 6, "print": [6, 11, 32], "problem": 11, "program": 11, "pypi": 28, "python": [6, 19, 25], "question": 15, "quickli": 3, "quotat": 5, "rang": 10, "rather": 25, "re": 32, "read": [15, 30], "recap": 7, "record": 34, "regex": 15, "renam": 29, "rendered": 0, "replac": 9, "represent": 29, "restart": 24, "return": 8, "revers": 10, "rocket": 21, "role": 2, "round": 8, "row": [31, 33, 36], "run": [24, 25], "runtim": 8, "sampl": 2, "scienc": 14, "screen": [20, 21], "script": 11, "select": [31, 33, 36], "sensit": 6, "seri": [18, 29, 31, 36], "shape": 30, "shortcut": 24, "show": [20, 21], "sign": [5, 26], "simplest": 25, "singl": 5, "slice": [5, 6, 9, 17, 31], "social": 11, "solid": [6, 7, 8, 9, 10, 11, 29, 30], "solut": [6, 7, 8, 9, 10, 11, 29, 30], "some": 8, "someth": [7, 8], "sort": 9, "specif": [31, 36], "specifi": 11, "spot": 8, "squar": [15, 36], "start": [22, 25, 28, 35], "statement": [10, 11, 17], "statist": 34, "step": [9, 23, 25], "store": 6, "string": [5, 6, 7, 8, 9, 10, 17], "strive": 32, "structur": 10, "student": 7, "subset": [18, 31, 36], "substr": 6, "sum": 10, "summari": [31, 34], "swap": 6, "syntax": [8, 10, 11, 17], "system": 23, "tabl": [5, 9, 29], "tabular": 30, "tail": 30, "termin": 25, "test": [0, 11], "thei": 6, "them": 7, "thi": [0, 11, 20, 21], "through": 9, "til": 0, "ting": 0, "tip": 23, "titan": 30, "titl": 0, "todo": 0, "trace": 10, "transpos": [18, 29], "true": [1, 11, 20, 21, 23, 25, 27], "turn": 32, "type": [5, 7, 9, 17], "up": 26, "upgrad": 28, "us": [6, 7, 10, 11, 25, 31, 33], "usag": 30, "user": 23, "v": [24, 31, 32], "valu": [6, 7, 8, 9, 30, 31], "variabl": [6, 7, 10, 17, 32], "version": [0, 25], "w": 15, "w3school": 19, "wa": 25, "wai": 25, "welcom": [1, 27], "well": 15, "what": [2, 7, 8, 9, 11, 31], "when": [7, 8, 11, 31, 33], "whether": 11, "which": 26, "while": 11, "why": [8, 29], "wider": 32, "window": [23, 25], "word": 16, "work": [8, 9, 10, 30], "workspac": 20, "would": 25, "write": 30, "yaml": 3, "you": [5, 6, 25, 26], "your": [25, 32], "z": 15}}) \ No newline at end of file