From d75d4b0208fa971e03ecd0b74fb45d06b92d01fd Mon Sep 17 00:00:00 2001 From: Raine Hoang Date: Sat, 27 Apr 2024 01:50:47 -0700 Subject: [PATCH] Deploy website - based on 392ba53432971fb65bb03ba254c14119255391ae --- 404.html | 2 +- ...f2afb.c3c41b35.js => 935f2afb.10ff2d7a.js} | 2 +- assets/js/cbe41db6.08221b91.js | 1 + assets/js/cbe41db6.659bace3.js | 1 - assets/js/f7ff7449.e5fc7f99.js | 1 + assets/js/f7ff7449.e7be62ad.js | 1 - ...n.e805a5d3.js => runtime~main.4cd759b5.js} | 2 +- blog/archive/index.html | 2 +- blog/first-blog-post/index.html | 2 +- blog/index.html | 2 +- blog/long-blog-post/index.html | 2 +- blog/mdx-blog-post/index.html | 2 +- blog/tags/docusaurus/index.html | 2 +- blog/tags/facebook/index.html | 2 +- blog/tags/hello/index.html | 2 +- blog/tags/hola/index.html | 2 +- blog/tags/index.html | 2 +- blog/welcome/index.html | 2 +- docs/Functions/Applying Functions/index.html | 2 +- docs/Functions/Writing Functions/index.html | 2 +- docs/accessing-data/df.shape/index.html | 2 +- docs/arrays-and-numpy/arr[]/index.html | 2 +- .../bpd.DataFrame()/index.html | 2 +- .../bpd.read_csv()/index.html | 2 +- .../df.assign()/index.html | 2 +- docs/building-organizing/df.drop()/index.html | 2 +- .../building-organizing/df.merge()/index.html | 2 +- .../df.reset_index()/index.html | 2 +- .../df.set_index()/index.html | 2 +- .../df.sort_values()/index.html | 2 +- docs/building-organizing/index.html | 2 +- docs/category/accessing-data/index.html | 2 +- docs/category/arrays-and-numpy/index.html | 2 +- docs/category/if-statements/index.html | 4 ++-- docs/category/plotting/index.html | 2 +- docs/for-loops/index.html | 2 +- docs/grouping/aggregation/count()/index.html | 2 +- docs/grouping/aggregation/max()/index.html | 2 +- docs/grouping/aggregation/mean()/index.html | 2 +- docs/grouping/aggregation/median()/index.html | 2 +- docs/grouping/aggregation/min()/index.html | 2 +- docs/grouping/aggregation/sum()/index.html | 2 +- docs/grouping/groupby/index.html | 2 +- .../Logical Operators/index.html | 23 ++++++++++++++----- docs/if-statements/if-elif-else/index.html | 2 +- .../in \342\201\204 not in/index.html" | 18 ++++++++++----- docs/intro/index.html | 2 +- docs/plotting/histogram/index.html | 2 +- docs/series-methods/index.html | 2 +- docs/series-methods/ser.count()/index.html | 2 +- docs/series-methods/ser.max()/index.html | 2 +- docs/series-methods/ser.mean()/index.html | 2 +- docs/series-methods/ser.median()/index.html | 2 +- docs/series-methods/ser.min()/index.html | 2 +- .../ser.str.capitalize()/index.html | 2 +- .../ser.str.contains()/index.html | 2 +- docs/series-methods/ser.str.len()/index.html | 2 +- .../series-methods/ser.str.lower()/index.html | 2 +- .../ser.str.replace()/index.html | 2 +- .../series-methods/ser.str.split()/index.html | 2 +- .../series-methods/ser.str.upper()/index.html | 2 +- docs/series-methods/ser.sum()/index.html | 2 +- docs/series-methods/ser.unique()/index.html | 2 +- index.html | 2 +- markdown-page/index.html | 2 +- 65 files changed, 91 insertions(+), 74 deletions(-) rename assets/js/{935f2afb.c3c41b35.js => 935f2afb.10ff2d7a.js} (78%) create mode 100644 assets/js/cbe41db6.08221b91.js delete mode 100644 assets/js/cbe41db6.659bace3.js create mode 100644 assets/js/f7ff7449.e5fc7f99.js delete mode 100644 assets/js/f7ff7449.e7be62ad.js rename assets/js/{runtime~main.e805a5d3.js => runtime~main.4cd759b5.js} (97%) diff --git a/404.html b/404.html index 69aa20d7..cf3fc90e 100644 --- a/404.html +++ b/404.html @@ -5,7 +5,7 @@ Page Not Found | bpd - + diff --git a/assets/js/935f2afb.c3c41b35.js b/assets/js/935f2afb.10ff2d7a.js similarity index 78% rename from assets/js/935f2afb.c3c41b35.js rename to assets/js/935f2afb.10ff2d7a.js index d5c75d6b..220c7cc1 100644 --- a/assets/js/935f2afb.c3c41b35.js +++ b/assets/js/935f2afb.10ff2d7a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[8581],{5610:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"Intro","href":"/bpd-reference/docs/intro","docId":"intro","unlisted":false},{"type":"category","label":"Building and Organizing DataFrames","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"bpd.DataFrame()","href":"/bpd-reference/docs/building-organizing/bpd.DataFrame()","docId":"building-organizing/bpd.DataFrame()","unlisted":false},{"type":"link","label":"bpd.read_csv()","href":"/bpd-reference/docs/building-organizing/bpd.read_csv()","docId":"building-organizing/bpd.read_csv()","unlisted":false},{"type":"link","label":"df.assign()","href":"/bpd-reference/docs/building-organizing/df.assign()","docId":"building-organizing/df.assign()","unlisted":false},{"type":"link","label":"df.drop()","href":"/bpd-reference/docs/building-organizing/df.drop()","docId":"building-organizing/df.drop()","unlisted":false},{"type":"link","label":"df.set_index()","href":"/bpd-reference/docs/building-organizing/df.set_index()","docId":"building-organizing/df.set_index()","unlisted":false},{"type":"link","label":"df.reset_index()","href":"/bpd-reference/docs/building-organizing/df.reset_index()","docId":"building-organizing/df.reset_index()","unlisted":false},{"type":"link","label":"df.sort_values()","href":"/bpd-reference/docs/building-organizing/df.sort_values()","docId":"building-organizing/df.sort_values()","unlisted":false},{"type":"link","label":"df.merge()","href":"/bpd-reference/docs/building-organizing/df.merge()","docId":"building-organizing/df.merge()","unlisted":false}],"href":"/bpd-reference/docs/building-organizing/"},{"type":"category","label":"Accessing Data","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"df.shape","href":"/bpd-reference/docs/accessing-data/df.shape","docId":"accessing-data/df.shape","unlisted":false}],"href":"/bpd-reference/docs/category/accessing-data"},{"type":"category","label":"Series Methods","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"ser.count()","href":"/bpd-reference/docs/series-methods/ser.count()","docId":"series-methods/ser.count()","unlisted":false},{"type":"link","label":"ser.max()","href":"/bpd-reference/docs/series-methods/ser.max()","docId":"series-methods/ser.max()","unlisted":false},{"type":"link","label":"ser.min()","href":"/bpd-reference/docs/series-methods/ser.min()","docId":"series-methods/ser.min()","unlisted":false},{"type":"link","label":"ser.sum()","href":"/bpd-reference/docs/series-methods/ser.sum()","docId":"series-methods/ser.sum()","unlisted":false},{"type":"link","label":"ser.mean()","href":"/bpd-reference/docs/series-methods/ser.mean()","docId":"series-methods/ser.mean()","unlisted":false},{"type":"link","label":"ser.median()","href":"/bpd-reference/docs/series-methods/ser.median()","docId":"series-methods/ser.median()","unlisted":false},{"type":"link","label":"ser.unique()","href":"/bpd-reference/docs/series-methods/ser.unique()","docId":"series-methods/ser.unique()","unlisted":false},{"type":"link","label":"ser.str.split()","href":"/bpd-reference/docs/series-methods/ser.str.split()","docId":"series-methods/ser.str.split()","unlisted":false},{"type":"link","label":"ser.str.lower()","href":"/bpd-reference/docs/series-methods/ser.str.lower()","docId":"series-methods/ser.str.lower()","unlisted":false},{"type":"link","label":"ser.str.upper()","href":"/bpd-reference/docs/series-methods/ser.str.upper()","docId":"series-methods/ser.str.upper()","unlisted":false},{"type":"link","label":"ser.str.capitalize()","href":"/bpd-reference/docs/series-methods/ser.str.capitalize()","docId":"series-methods/ser.str.capitalize()","unlisted":false},{"type":"link","label":"ser.str.replace()","href":"/bpd-reference/docs/series-methods/ser.str.replace()","docId":"series-methods/ser.str.replace()","unlisted":false},{"type":"link","label":"ser.str.len()","href":"/bpd-reference/docs/series-methods/ser.str.len()","docId":"series-methods/ser.str.len()","unlisted":false},{"type":"link","label":"ser.str.contains()","href":"/bpd-reference/docs/series-methods/ser.str.contains()","docId":"series-methods/ser.str.contains()","unlisted":false}],"href":"/bpd-reference/docs/series-methods/"},{"type":"category","label":"Arrays and NumPy","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"arr[]","href":"/bpd-reference/docs/arrays-and-numpy/arr[]","docId":"arrays-and-numpy/arr[]","unlisted":false}],"href":"/bpd-reference/docs/category/arrays-and-numpy"},{"type":"category","label":"Plotting","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"histogram","href":"/bpd-reference/docs/plotting/histogram","docId":"plotting/histogram","unlisted":false}],"href":"/bpd-reference/docs/category/plotting"},{"type":"link","label":"for-loops","href":"/bpd-reference/docs/for-loops/","docId":"for-loops/for-loops","unlisted":false},{"type":"category","label":"if-statements","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"if-elif-else","href":"/bpd-reference/docs/if-statements/if-elif-else","docId":"if-statements/if-elif-else","unlisted":false},{"type":"link","label":"in \u2044 not in","href":"/bpd-reference/docs/if-statements/in \u2044 not in","docId":"if-statements/in \u2044 not in","unlisted":false},{"type":"link","label":"Logical Operators","href":"/bpd-reference/docs/if-statements/Logical Operators","docId":"if-statements/Logical Operators","unlisted":false}],"href":"/bpd-reference/docs/category/if-statements"},{"type":"category","label":"Functions","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Writing Functions","href":"/bpd-reference/docs/Functions/Writing Functions","docId":"Functions/Writing Functions","unlisted":false},{"type":"link","label":"Applying Functions","href":"/bpd-reference/docs/Functions/Applying Functions","docId":"Functions/Applying Functions","unlisted":false}]},{"type":"category","label":"grouping","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"groupby","href":"/bpd-reference/docs/grouping/groupby","docId":"grouping/groupby","unlisted":false},{"type":"category","label":"aggregation","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"count()","href":"/bpd-reference/docs/grouping/aggregation/count()","docId":"grouping/aggregation/count()","unlisted":false},{"type":"link","label":"max()","href":"/bpd-reference/docs/grouping/aggregation/max()","docId":"grouping/aggregation/max()","unlisted":false},{"type":"link","label":"mean()","href":"/bpd-reference/docs/grouping/aggregation/mean()","docId":"grouping/aggregation/mean()","unlisted":false},{"type":"link","label":"median()","href":"/bpd-reference/docs/grouping/aggregation/median()","docId":"grouping/aggregation/median()","unlisted":false},{"type":"link","label":"min()","href":"/bpd-reference/docs/grouping/aggregation/min()","docId":"grouping/aggregation/min()","unlisted":false},{"type":"link","label":"sum()","href":"/bpd-reference/docs/grouping/aggregation/sum()","docId":"grouping/aggregation/sum()","unlisted":false}]}]}]},"docs":{"accessing-data/df.shape":{"id":"accessing-data/df.shape","title":"df.shape","description":"df.shape","sidebar":"tutorialSidebar"},"arrays-and-numpy/arr[]":{"id":"arrays-and-numpy/arr[]","title":"arr[]","description":"arr[index]","sidebar":"tutorialSidebar"},"building-organizing/bpd.DataFrame()":{"id":"building-organizing/bpd.DataFrame()","title":"bpd.DataFrame()","description":"bpd.DataFrame()","sidebar":"tutorialSidebar"},"building-organizing/bpd.read_csv()":{"id":"building-organizing/bpd.read_csv()","title":"bpd.read_csv()","description":"bpd.read_csv(filepath)","sidebar":"tutorialSidebar"},"building-organizing/df.assign()":{"id":"building-organizing/df.assign()","title":"df.assign()","description":"df.assign(nameofcolumn=column_data)","sidebar":"tutorialSidebar"},"building-organizing/df.drop()":{"id":"building-organizing/df.drop()","title":"df.drop()","description":"df.drop(columns=columnname or [col1name, ..., colk_name])","sidebar":"tutorialSidebar"},"building-organizing/df.merge()":{"id":"building-organizing/df.merge()","title":"df.merge()","description":"df.merge(right, how=\'inner\', on=column, lefton=leftcolumn, righton=rightcolumn, leftindex=False, rightindex=False)","sidebar":"tutorialSidebar"},"building-organizing/df.reset_index()":{"id":"building-organizing/df.reset_index()","title":"df.reset_index()","description":"df.reset_index(drop=False)","sidebar":"tutorialSidebar"},"building-organizing/df.set_index()":{"id":"building-organizing/df.set_index()","title":"df.set_index()","description":"df.setindex(columnname)","sidebar":"tutorialSidebar"},"building-organizing/df.sort_values()":{"id":"building-organizing/df.sort_values()","title":"df.sort_values()","description":"df.sortvalues(by=columnname, ascending=True)","sidebar":"tutorialSidebar"},"building-organizing/index":{"id":"building-organizing/index","title":"Building and Organizing DataFrames","description":"Each function/method creates a new DataFrame. Remember to save it!","sidebar":"tutorialSidebar"},"for-loops/for-loops":{"id":"for-loops/for-loops","title":"for-loops","description":"for \\\\ in \\\\:","sidebar":"tutorialSidebar"},"Functions/Applying Functions":{"id":"Functions/Applying Functions","title":"Applying Functions","description":"df.get(columnname).apply(functionname)","sidebar":"tutorialSidebar"},"Functions/Writing Functions":{"id":"Functions/Writing Functions","title":"Writing Functions","description":"def function_name(parameters):","sidebar":"tutorialSidebar"},"grouping/aggregation/count()":{"id":"grouping/aggregation/count()","title":"count()","description":"df.groupby(column_name).count()","sidebar":"tutorialSidebar"},"grouping/aggregation/max()":{"id":"grouping/aggregation/max()","title":"max()","description":"df.groupby(column_name).max()","sidebar":"tutorialSidebar"},"grouping/aggregation/mean()":{"id":"grouping/aggregation/mean()","title":"mean()","description":"df.groupby(column_name).mean()","sidebar":"tutorialSidebar"},"grouping/aggregation/median()":{"id":"grouping/aggregation/median()","title":"median()","description":"df.groupby(column_name).median()","sidebar":"tutorialSidebar"},"grouping/aggregation/min()":{"id":"grouping/aggregation/min()","title":"min()","description":"df.groupby(column_name).min()","sidebar":"tutorialSidebar"},"grouping/aggregation/sum()":{"id":"grouping/aggregation/sum()","title":"sum()","description":"df.groupby(column_name).sum()","sidebar":"tutorialSidebar"},"grouping/groupby":{"id":"grouping/groupby","title":"groupby","description":"df.groupby(columnname)ordf.groupby([columnnames])","sidebar":"tutorialSidebar"},"if-statements/if-elif-else":{"id":"if-statements/if-elif-else","title":"if-elif-else","description":"if \\\\:","sidebar":"tutorialSidebar"},"if-statements/in \u2044 not in":{"id":"if-statements/in \u2044 not in","title":"in \u2044 not in","description":"bpd.read_csv(filepath)","sidebar":"tutorialSidebar"},"if-statements/Logical Operators":{"id":"if-statements/Logical Operators","title":"Logical Operators","description":"bpd.read_csv(filepath)","sidebar":"tutorialSidebar"},"intro":{"id":"intro","title":"intro","description":"Assumption: Assume that df is a DataFrame, ser is a Series, arr is an array, and we already run import babypandas as bpd and import numpy as np.","sidebar":"tutorialSidebar"},"plotting/histogram":{"id":"plotting/histogram","title":"histogram","description":"df.plot(kind=\'hist\', y=datacol, bins=thebins, density=True)","sidebar":"tutorialSidebar"},"series-methods/index":{"id":"series-methods/index","title":"Series Methods","description":"Methods that can be performed on a Series.","sidebar":"tutorialSidebar"},"series-methods/ser.count()":{"id":"series-methods/ser.count()","title":"ser.count()","description":"ser.count()","sidebar":"tutorialSidebar"},"series-methods/ser.max()":{"id":"series-methods/ser.max()","title":"ser.max()","description":"ser.max()","sidebar":"tutorialSidebar"},"series-methods/ser.mean()":{"id":"series-methods/ser.mean()","title":"ser.mean()","description":"ser.mean()","sidebar":"tutorialSidebar"},"series-methods/ser.median()":{"id":"series-methods/ser.median()","title":"ser.median()","description":"ser.median()","sidebar":"tutorialSidebar"},"series-methods/ser.min()":{"id":"series-methods/ser.min()","title":"ser.min()","description":"ser.min()","sidebar":"tutorialSidebar"},"series-methods/ser.str.capitalize()":{"id":"series-methods/ser.str.capitalize()","title":"ser.str.capitalize()","description":"ser.str.capitalize()","sidebar":"tutorialSidebar"},"series-methods/ser.str.contains()":{"id":"series-methods/ser.str.contains()","title":"ser.str.contains()","description":"ser.str.contains(substring)","sidebar":"tutorialSidebar"},"series-methods/ser.str.len()":{"id":"series-methods/ser.str.len()","title":"ser.str.len()","description":"ser.str.len()","sidebar":"tutorialSidebar"},"series-methods/ser.str.lower()":{"id":"series-methods/ser.str.lower()","title":"ser.str.lower()","description":"ser.str.lower()","sidebar":"tutorialSidebar"},"series-methods/ser.str.replace()":{"id":"series-methods/ser.str.replace()","title":"ser.str.replace()","description":"ser.str.replace(old, new, count=-1)","sidebar":"tutorialSidebar"},"series-methods/ser.str.split()":{"id":"series-methods/ser.str.split()","title":"ser.str.split()","description":"ser.str.split()orser.str.split(seperator)","sidebar":"tutorialSidebar"},"series-methods/ser.str.upper()":{"id":"series-methods/ser.str.upper()","title":"ser.str.upper()","description":"ser.str.upper()","sidebar":"tutorialSidebar"},"series-methods/ser.sum()":{"id":"series-methods/ser.sum()","title":"ser.sum()","description":"ser.sum()","sidebar":"tutorialSidebar"},"series-methods/ser.unique()":{"id":"series-methods/ser.unique()","title":"ser.unique()","description":"ser.unique()","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[8581],{5610:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"Intro","href":"/bpd-reference/docs/intro","docId":"intro","unlisted":false},{"type":"category","label":"Building and Organizing DataFrames","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"bpd.DataFrame()","href":"/bpd-reference/docs/building-organizing/bpd.DataFrame()","docId":"building-organizing/bpd.DataFrame()","unlisted":false},{"type":"link","label":"bpd.read_csv()","href":"/bpd-reference/docs/building-organizing/bpd.read_csv()","docId":"building-organizing/bpd.read_csv()","unlisted":false},{"type":"link","label":"df.assign()","href":"/bpd-reference/docs/building-organizing/df.assign()","docId":"building-organizing/df.assign()","unlisted":false},{"type":"link","label":"df.drop()","href":"/bpd-reference/docs/building-organizing/df.drop()","docId":"building-organizing/df.drop()","unlisted":false},{"type":"link","label":"df.set_index()","href":"/bpd-reference/docs/building-organizing/df.set_index()","docId":"building-organizing/df.set_index()","unlisted":false},{"type":"link","label":"df.reset_index()","href":"/bpd-reference/docs/building-organizing/df.reset_index()","docId":"building-organizing/df.reset_index()","unlisted":false},{"type":"link","label":"df.sort_values()","href":"/bpd-reference/docs/building-organizing/df.sort_values()","docId":"building-organizing/df.sort_values()","unlisted":false},{"type":"link","label":"df.merge()","href":"/bpd-reference/docs/building-organizing/df.merge()","docId":"building-organizing/df.merge()","unlisted":false}],"href":"/bpd-reference/docs/building-organizing/"},{"type":"category","label":"Accessing Data","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"df.shape","href":"/bpd-reference/docs/accessing-data/df.shape","docId":"accessing-data/df.shape","unlisted":false}],"href":"/bpd-reference/docs/category/accessing-data"},{"type":"category","label":"Series Methods","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"ser.count()","href":"/bpd-reference/docs/series-methods/ser.count()","docId":"series-methods/ser.count()","unlisted":false},{"type":"link","label":"ser.max()","href":"/bpd-reference/docs/series-methods/ser.max()","docId":"series-methods/ser.max()","unlisted":false},{"type":"link","label":"ser.min()","href":"/bpd-reference/docs/series-methods/ser.min()","docId":"series-methods/ser.min()","unlisted":false},{"type":"link","label":"ser.sum()","href":"/bpd-reference/docs/series-methods/ser.sum()","docId":"series-methods/ser.sum()","unlisted":false},{"type":"link","label":"ser.mean()","href":"/bpd-reference/docs/series-methods/ser.mean()","docId":"series-methods/ser.mean()","unlisted":false},{"type":"link","label":"ser.median()","href":"/bpd-reference/docs/series-methods/ser.median()","docId":"series-methods/ser.median()","unlisted":false},{"type":"link","label":"ser.unique()","href":"/bpd-reference/docs/series-methods/ser.unique()","docId":"series-methods/ser.unique()","unlisted":false},{"type":"link","label":"ser.str.split()","href":"/bpd-reference/docs/series-methods/ser.str.split()","docId":"series-methods/ser.str.split()","unlisted":false},{"type":"link","label":"ser.str.lower()","href":"/bpd-reference/docs/series-methods/ser.str.lower()","docId":"series-methods/ser.str.lower()","unlisted":false},{"type":"link","label":"ser.str.upper()","href":"/bpd-reference/docs/series-methods/ser.str.upper()","docId":"series-methods/ser.str.upper()","unlisted":false},{"type":"link","label":"ser.str.capitalize()","href":"/bpd-reference/docs/series-methods/ser.str.capitalize()","docId":"series-methods/ser.str.capitalize()","unlisted":false},{"type":"link","label":"ser.str.replace()","href":"/bpd-reference/docs/series-methods/ser.str.replace()","docId":"series-methods/ser.str.replace()","unlisted":false},{"type":"link","label":"ser.str.len()","href":"/bpd-reference/docs/series-methods/ser.str.len()","docId":"series-methods/ser.str.len()","unlisted":false},{"type":"link","label":"ser.str.contains()","href":"/bpd-reference/docs/series-methods/ser.str.contains()","docId":"series-methods/ser.str.contains()","unlisted":false}],"href":"/bpd-reference/docs/series-methods/"},{"type":"category","label":"Arrays and NumPy","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"arr[]","href":"/bpd-reference/docs/arrays-and-numpy/arr[]","docId":"arrays-and-numpy/arr[]","unlisted":false}],"href":"/bpd-reference/docs/category/arrays-and-numpy"},{"type":"category","label":"Plotting","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"histogram","href":"/bpd-reference/docs/plotting/histogram","docId":"plotting/histogram","unlisted":false}],"href":"/bpd-reference/docs/category/plotting"},{"type":"link","label":"for-loops","href":"/bpd-reference/docs/for-loops/","docId":"for-loops/for-loops","unlisted":false},{"type":"category","label":"if-statements","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"if-elif-else","href":"/bpd-reference/docs/if-statements/if-elif-else","docId":"if-statements/if-elif-else","unlisted":false},{"type":"link","label":"in \u2044 not in","href":"/bpd-reference/docs/if-statements/in \u2044 not in","docId":"if-statements/in \u2044 not in","unlisted":false},{"type":"link","label":"Logical Operators","href":"/bpd-reference/docs/if-statements/Logical Operators","docId":"if-statements/Logical Operators","unlisted":false}],"href":"/bpd-reference/docs/category/if-statements"},{"type":"category","label":"Functions","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Writing Functions","href":"/bpd-reference/docs/Functions/Writing Functions","docId":"Functions/Writing Functions","unlisted":false},{"type":"link","label":"Applying Functions","href":"/bpd-reference/docs/Functions/Applying Functions","docId":"Functions/Applying Functions","unlisted":false}]},{"type":"category","label":"grouping","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"groupby","href":"/bpd-reference/docs/grouping/groupby","docId":"grouping/groupby","unlisted":false},{"type":"category","label":"aggregation","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"count()","href":"/bpd-reference/docs/grouping/aggregation/count()","docId":"grouping/aggregation/count()","unlisted":false},{"type":"link","label":"max()","href":"/bpd-reference/docs/grouping/aggregation/max()","docId":"grouping/aggregation/max()","unlisted":false},{"type":"link","label":"mean()","href":"/bpd-reference/docs/grouping/aggregation/mean()","docId":"grouping/aggregation/mean()","unlisted":false},{"type":"link","label":"median()","href":"/bpd-reference/docs/grouping/aggregation/median()","docId":"grouping/aggregation/median()","unlisted":false},{"type":"link","label":"min()","href":"/bpd-reference/docs/grouping/aggregation/min()","docId":"grouping/aggregation/min()","unlisted":false},{"type":"link","label":"sum()","href":"/bpd-reference/docs/grouping/aggregation/sum()","docId":"grouping/aggregation/sum()","unlisted":false}]}]}]},"docs":{"accessing-data/df.shape":{"id":"accessing-data/df.shape","title":"df.shape","description":"df.shape","sidebar":"tutorialSidebar"},"arrays-and-numpy/arr[]":{"id":"arrays-and-numpy/arr[]","title":"arr[]","description":"arr[index]","sidebar":"tutorialSidebar"},"building-organizing/bpd.DataFrame()":{"id":"building-organizing/bpd.DataFrame()","title":"bpd.DataFrame()","description":"bpd.DataFrame()","sidebar":"tutorialSidebar"},"building-organizing/bpd.read_csv()":{"id":"building-organizing/bpd.read_csv()","title":"bpd.read_csv()","description":"bpd.read_csv(filepath)","sidebar":"tutorialSidebar"},"building-organizing/df.assign()":{"id":"building-organizing/df.assign()","title":"df.assign()","description":"df.assign(nameofcolumn=column_data)","sidebar":"tutorialSidebar"},"building-organizing/df.drop()":{"id":"building-organizing/df.drop()","title":"df.drop()","description":"df.drop(columns=columnname or [col1name, ..., colk_name])","sidebar":"tutorialSidebar"},"building-organizing/df.merge()":{"id":"building-organizing/df.merge()","title":"df.merge()","description":"df.merge(right, how=\'inner\', on=column, lefton=leftcolumn, righton=rightcolumn, leftindex=False, rightindex=False)","sidebar":"tutorialSidebar"},"building-organizing/df.reset_index()":{"id":"building-organizing/df.reset_index()","title":"df.reset_index()","description":"df.reset_index(drop=False)","sidebar":"tutorialSidebar"},"building-organizing/df.set_index()":{"id":"building-organizing/df.set_index()","title":"df.set_index()","description":"df.setindex(columnname)","sidebar":"tutorialSidebar"},"building-organizing/df.sort_values()":{"id":"building-organizing/df.sort_values()","title":"df.sort_values()","description":"df.sortvalues(by=columnname, ascending=True)","sidebar":"tutorialSidebar"},"building-organizing/index":{"id":"building-organizing/index","title":"Building and Organizing DataFrames","description":"Each function/method creates a new DataFrame. Remember to save it!","sidebar":"tutorialSidebar"},"for-loops/for-loops":{"id":"for-loops/for-loops","title":"for-loops","description":"for \\\\ in \\\\:","sidebar":"tutorialSidebar"},"Functions/Applying Functions":{"id":"Functions/Applying Functions","title":"Applying Functions","description":"df.get(columnname).apply(functionname)","sidebar":"tutorialSidebar"},"Functions/Writing Functions":{"id":"Functions/Writing Functions","title":"Writing Functions","description":"def function_name(parameters):","sidebar":"tutorialSidebar"},"grouping/aggregation/count()":{"id":"grouping/aggregation/count()","title":"count()","description":"df.groupby(column_name).count()","sidebar":"tutorialSidebar"},"grouping/aggregation/max()":{"id":"grouping/aggregation/max()","title":"max()","description":"df.groupby(column_name).max()","sidebar":"tutorialSidebar"},"grouping/aggregation/mean()":{"id":"grouping/aggregation/mean()","title":"mean()","description":"df.groupby(column_name).mean()","sidebar":"tutorialSidebar"},"grouping/aggregation/median()":{"id":"grouping/aggregation/median()","title":"median()","description":"df.groupby(column_name).median()","sidebar":"tutorialSidebar"},"grouping/aggregation/min()":{"id":"grouping/aggregation/min()","title":"min()","description":"df.groupby(column_name).min()","sidebar":"tutorialSidebar"},"grouping/aggregation/sum()":{"id":"grouping/aggregation/sum()","title":"sum()","description":"df.groupby(column_name).sum()","sidebar":"tutorialSidebar"},"grouping/groupby":{"id":"grouping/groupby","title":"groupby","description":"df.groupby(columnname)ordf.groupby([columnnames])","sidebar":"tutorialSidebar"},"if-statements/if-elif-else":{"id":"if-statements/if-elif-else","title":"if-elif-else","description":"if \\\\:","sidebar":"tutorialSidebar"},"if-statements/in \u2044 not in":{"id":"if-statements/in \u2044 not in","title":"in \u2044 not in","description":"if \\\\ in \\\\:","sidebar":"tutorialSidebar"},"if-statements/Logical Operators":{"id":"if-statements/Logical Operators","title":"Logical Operators","description":"if \\\\ and \\\\:","sidebar":"tutorialSidebar"},"intro":{"id":"intro","title":"intro","description":"Assumption: Assume that df is a DataFrame, ser is a Series, arr is an array, and we already run import babypandas as bpd and import numpy as np.","sidebar":"tutorialSidebar"},"plotting/histogram":{"id":"plotting/histogram","title":"histogram","description":"df.plot(kind=\'hist\', y=datacol, bins=thebins, density=True)","sidebar":"tutorialSidebar"},"series-methods/index":{"id":"series-methods/index","title":"Series Methods","description":"Methods that can be performed on a Series.","sidebar":"tutorialSidebar"},"series-methods/ser.count()":{"id":"series-methods/ser.count()","title":"ser.count()","description":"ser.count()","sidebar":"tutorialSidebar"},"series-methods/ser.max()":{"id":"series-methods/ser.max()","title":"ser.max()","description":"ser.max()","sidebar":"tutorialSidebar"},"series-methods/ser.mean()":{"id":"series-methods/ser.mean()","title":"ser.mean()","description":"ser.mean()","sidebar":"tutorialSidebar"},"series-methods/ser.median()":{"id":"series-methods/ser.median()","title":"ser.median()","description":"ser.median()","sidebar":"tutorialSidebar"},"series-methods/ser.min()":{"id":"series-methods/ser.min()","title":"ser.min()","description":"ser.min()","sidebar":"tutorialSidebar"},"series-methods/ser.str.capitalize()":{"id":"series-methods/ser.str.capitalize()","title":"ser.str.capitalize()","description":"ser.str.capitalize()","sidebar":"tutorialSidebar"},"series-methods/ser.str.contains()":{"id":"series-methods/ser.str.contains()","title":"ser.str.contains()","description":"ser.str.contains(substring)","sidebar":"tutorialSidebar"},"series-methods/ser.str.len()":{"id":"series-methods/ser.str.len()","title":"ser.str.len()","description":"ser.str.len()","sidebar":"tutorialSidebar"},"series-methods/ser.str.lower()":{"id":"series-methods/ser.str.lower()","title":"ser.str.lower()","description":"ser.str.lower()","sidebar":"tutorialSidebar"},"series-methods/ser.str.replace()":{"id":"series-methods/ser.str.replace()","title":"ser.str.replace()","description":"ser.str.replace(old, new, count=-1)","sidebar":"tutorialSidebar"},"series-methods/ser.str.split()":{"id":"series-methods/ser.str.split()","title":"ser.str.split()","description":"ser.str.split()orser.str.split(seperator)","sidebar":"tutorialSidebar"},"series-methods/ser.str.upper()":{"id":"series-methods/ser.str.upper()","title":"ser.str.upper()","description":"ser.str.upper()","sidebar":"tutorialSidebar"},"series-methods/ser.sum()":{"id":"series-methods/ser.sum()","title":"ser.sum()","description":"ser.sum()","sidebar":"tutorialSidebar"},"series-methods/ser.unique()":{"id":"series-methods/ser.unique()","title":"ser.unique()","description":"ser.unique()","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/cbe41db6.08221b91.js b/assets/js/cbe41db6.08221b91.js new file mode 100644 index 00000000..32af3883 --- /dev/null +++ b/assets/js/cbe41db6.08221b91.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[5164],{5707:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>c,contentTitle:()=>d,default:()=>h,frontMatter:()=>a,metadata:()=>o,toc:()=>l});var t=n(4848),r=n(8453),i=n(8597);const a={sidebar_position:11},d=void 0,o={id:"if-statements/Logical Operators",title:"Logical Operators",description:"if \\ and \\:",source:"@site/docs/if-statements/Logical Operators.md",sourceDirName:"if-statements",slug:"/if-statements/Logical Operators",permalink:"/bpd-reference/docs/if-statements/Logical Operators",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/if-statements/Logical Operators.md",tags:[],version:"current",sidebarPosition:11,frontMatter:{sidebar_position:11},sidebar:"tutorialSidebar",previous:{title:"in \u2044 not in",permalink:"/bpd-reference/docs/if-statements/in \u2044 not in"},next:{title:"Writing Functions",permalink:"/bpd-reference/docs/Functions/Writing Functions"}},c={},l=[];function p(e){const s={code:"code",hr:"hr",p:"p",pre:"pre",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s.p,{children:[(0,t.jsxs)("code",{children:["if and : ",(0,t.jsx)("br",{})]}),"\r\n\xa0\xa0\xa0\xa0\xa0\xa0 ",(0,t.jsxs)("code",{children:[" ",(0,t.jsx)("br",{})," "]}),"\r\n",(0,t.jsxs)("code",{children:["if or : ",(0,t.jsx)("br",{})]}),"\r\n\xa0\xa0\xa0\xa0\xa0\xa0 ",(0,t.jsxs)("code",{children:[" ",(0,t.jsx)("br",{})," "]}),"\r\n",(0,t.jsxs)("code",{children:["if not(): ",(0,t.jsx)("br",{})]}),"\r\n\xa0\xa0\xa0\xa0\xa0\xa0 ",(0,t.jsxs)("code",{children:[" ",(0,t.jsx)("br",{})," "]})]}),"\n",(0,t.jsxs)("div",{className:"base",children:[(0,t.jsx)("p",{children:(0,t.jsx)("strong",{children:"Allows for multiple conditions to be combined at the same time. "})}),(0,t.jsxs)("dl",{children:[(0,t.jsx)("dt",{className:"term",children:"Operators:"}),(0,t.jsxs)("dd",{className:"parameter",children:["and : ",(0,t.jsx)("em",{})]}),(0,t.jsx)("dd",{className:"parameter-description",children:"If all conditions are satisfied, the if body is executed."}),(0,t.jsxs)("dd",{className:"parameter",children:["or : ",(0,t.jsx)("em",{})]}),(0,t.jsx)("dd",{className:"parameter-description",children:"If at least one of the conditions is satisfied, the if body is executed."}),(0,t.jsxs)("dd",{className:"parameter",children:["not : ",(0,t.jsx)("em",{})]}),(0,t.jsx)("dd",{className:"parameter-description",children:"If the reverse of the condition is satisfied, the if body is executed."}),(0,t.jsx)("dt",{className:"term",children:"Returns:"}),(0,t.jsx)("dd",{children:"True or False"}),(0,t.jsx)("dt",{className:"term",children:"Return Type:"}),(0,t.jsx)("dd",{children:"Boolean"})]})]}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(i.A,{data:'{"columns":["ID","Species","Color","Weight","Age"],"index":[0,1,2,3,4,5,6,7],"data":[["dog_001","dog","black",40.0,5.0],["cat_001","cat","golden",1.5,0.2],["cat_002","cat","black",15.0,9.0],["dog_002","dog","white",80.0,2.0],["dog_003","dog","black",25.0,0.5],["ham_001","hamster","black",1.0,3.0],["ham_002","hamster","golden",0.25,0.2],["cat_003","cat","black",10.0,0.0]]}'}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-python",children:"def more_descriptive_name(id_str, species, color, weight, age):\r\n return id_str + ': This ' + color + ' ' + species + ' weighs ' + weight + ' lbs and is ' + age + ' years old'\r\n \r\ndef cat_and_dog_info(pet_id):\r\n id_arr = np.array(pets.get('ID'))\r\n if pet_id not in id_arr:\r\n return 'This pet is not in our record'\r\n pets_info = pets[pets.get('ID') == pet_id]\r\n age = pets_info.get('Age').iloc[0]\r\n weight = pets_info.get('Weight').iloc[0]\r\n species = pets_info.get('Species').iloc[0]\r\n color = pets_info.get('Color').iloc[0]\r\n if (species == 'dog') and (age < 1.5):\r\n return pet_id + ': This is a puppy \ud83d\udc36'\r\n elif (species == 'cat') and (age < 1):\r\n return pet_id + ': This is a kitten \ud83d\udc31'\r\n elif (species == 'dog') or (species == 'cat'):\r\n weight = str(weight)\r\n age = str(age)\r\n return more_descriptive_name(pet_id, species, color, weight, age)\n"})}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-python",children:"cat_and_dog_info('dog_001')\n"})}),"\n",(0,t.jsx)(s.p,{children:"'dog_001: This black dog weighs 40.0 lbs and is 5.0 years old'"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-python",children:"cat_and_dog_info('cat_001')\n"})}),"\n",(0,t.jsx)(s.p,{children:"'cat_001: This is a kitten \ud83d\udc31'"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-python",children:"cat_and_dog_info('cat_009')\n"})}),"\n",(0,t.jsx)(s.p,{children:"'This pet is not in our record'"})]})}function h(e={}){const{wrapper:s}={...(0,r.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(p,{...e})}):p(e)}},8597:(e,s,n)=>{n.d(s,{A:()=>r});n(6540);var t=n(4848);const r=e=>{let{data:s}=e,n=[],r=[],i="",a=[];if(s){const e=JSON.parse(s);n=e.columns||[],r=e.data||[],i=e.indexName||"Index",a=e.index||[]}return(0,t.jsx)("div",{className:"dataframe-container",children:(0,t.jsxs)("table",{className:"dataframe-table",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:i})," ",n.map(((e,s)=>(0,t.jsx)("th",{children:e},s)))]})}),(0,t.jsx)("tbody",{children:r.map(((e,s)=>(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"index-value",children:a[s]})," ",e.map(((e,s)=>(0,t.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},s)))]},s)))})]})})}},8453:(e,s,n)=>{n.d(s,{R:()=>a,x:()=>d});var t=n(6540);const r={},i=t.createContext(r);function a(e){const s=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function d(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),t.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/cbe41db6.659bace3.js b/assets/js/cbe41db6.659bace3.js deleted file mode 100644 index c87eab05..00000000 --- a/assets/js/cbe41db6.659bace3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[5164],{5707:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>d,contentTitle:()=>c,default:()=>h,frontMatter:()=>i,metadata:()=>o,toc:()=>l});var a=s(4848),n=s(8453),r=s(8597);const i={sidebar_position:11},c=void 0,o={id:"if-statements/Logical Operators",title:"Logical Operators",description:"bpd.read_csv(filepath)",source:"@site/docs/if-statements/Logical Operators.md",sourceDirName:"if-statements",slug:"/if-statements/Logical Operators",permalink:"/bpd-reference/docs/if-statements/Logical Operators",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/if-statements/Logical Operators.md",tags:[],version:"current",sidebarPosition:11,frontMatter:{sidebar_position:11},sidebar:"tutorialSidebar",previous:{title:"in \u2044 not in",permalink:"/bpd-reference/docs/if-statements/in \u2044 not in"},next:{title:"Writing Functions",permalink:"/bpd-reference/docs/Functions/Writing Functions"}},d={},l=[];function p(e){const t={code:"code",hr:"hr",pre:"pre",...(0,n.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("code",{children:"bpd.read_csv(filepath)"}),"\n",(0,a.jsxs)("div",{className:"base",children:[(0,a.jsx)("p",{children:(0,a.jsx)("strong",{children:"Read a comma-separated values (csv) file into DataFrame."})}),(0,a.jsxs)("dl",{children:[(0,a.jsx)("dt",{className:"term",children:"Input:"}),(0,a.jsxs)("dd",{className:"parameter",children:["filepath : ",(0,a.jsx)("em",{children:"string, path object, file-like object."})]}),(0,a.jsx)("dd",{className:"parameter-description",children:"Any valid string path is acceptable. The string could also be a URL."}),(0,a.jsx)("dt",{className:"term",children:"Returns:"}),(0,a.jsx)("dd",{children:"df - DataFrame with read csv file."}),(0,a.jsx)("dt",{className:"term",children:"Return Type:"}),(0,a.jsx)("dd",{children:"DataFrame"})]})]}),"\n",(0,a.jsx)(t.hr,{}),"\n",(0,a.jsx)(t.pre,{children:(0,a.jsx)(t.code,{className:"language-python",children:"pets = bpd.read_csv('pets.csv')\r\npets\n"})}),"\n",(0,a.jsx)(r.A,{data:'{"columns":["ID","Species","Color","Weight","Age","Is_Cat","Owner_Comment"],"index":[0,1,2,3,4,5,6,7],"data":[["dog_001","dog","black",40.0,5.0,false," There are no bad dogs, only bad owners."],["cat_001","cat","golden",1.5,0.2,true,"My best birthday present ever!!!"],["cat_002","cat","black",15.0,9.0,true,"****All you need is love and a cat.****"],["dog_002","dog","white",80.0,2.0,false,"Love is a wet nose and a wagging tail."],["dog_003","dog","black",25.0,0.5,false,"Be the person your dog thinks you are."],["ham_001","hamster","black",1.0,3.0,false,"No, thank you!"],["ham_002","hamster","golden",0.25,0.2,false,"No, thank you!"],["cat_003","cat","black",10.0,0.0,true,"No, thank you!"]]}'})]})}function h(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(p,{...e})}):p(e)}},8597:(e,t,s)=>{s.d(t,{A:()=>n});s(6540);var a=s(4848);const n=e=>{let{data:t}=e,s=[],n=[],r="",i=[];if(t){const e=JSON.parse(t);s=e.columns||[],n=e.data||[],r=e.indexName||"Index",i=e.index||[]}return(0,a.jsx)("div",{className:"dataframe-container",children:(0,a.jsxs)("table",{className:"dataframe-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:r})," ",s.map(((e,t)=>(0,a.jsx)("th",{children:e},t)))]})}),(0,a.jsx)("tbody",{children:n.map(((e,t)=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"index-value",children:i[t]})," ",e.map(((e,t)=>(0,a.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},t)))]},t)))})]})})}},8453:(e,t,s)=>{s.d(t,{R:()=>i,x:()=>c});var a=s(6540);const n={},r=a.createContext(n);function i(e){const t=a.useContext(r);return a.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),a.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f7ff7449.e5fc7f99.js b/assets/js/f7ff7449.e5fc7f99.js new file mode 100644 index 00000000..3c92b067 --- /dev/null +++ b/assets/js/f7ff7449.e5fc7f99.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[7450],{1810:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>o,contentTitle:()=>c,default:()=>m,frontMatter:()=>a,metadata:()=>d,toc:()=>l});var t=n(4848),r=n(8453),i=(n(8597),n(8205));const a={sidebar_position:10},c=void 0,d={id:"if-statements/in \u2044 not in",title:"in \u2044 not in",description:"if \\ in \\:",source:"@site/docs/if-statements/in \u2044 not in.md",sourceDirName:"if-statements",slug:"/if-statements/in \u2044 not in",permalink:"/bpd-reference/docs/if-statements/in \u2044 not in",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/if-statements/in \u2044 not in.md",tags:[],version:"current",sidebarPosition:10,frontMatter:{sidebar_position:10},sidebar:"tutorialSidebar",previous:{title:"if-elif-else",permalink:"/bpd-reference/docs/if-statements/if-elif-else"},next:{title:"Logical Operators",permalink:"/bpd-reference/docs/if-statements/Logical Operators"}},o={},l=[];function p(e){const s={code:"code",hr:"hr",p:"p",pre:"pre",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s.p,{children:[(0,t.jsxs)("code",{children:["if in : ",(0,t.jsx)("br",{})]}),"\r\n\xa0\xa0\xa0\xa0\xa0\xa0 ",(0,t.jsxs)("code",{children:[" ",(0,t.jsx)("br",{})," "]}),"\r\n",(0,t.jsxs)("code",{children:["if not in : ",(0,t.jsx)("br",{})]}),"\r\n\xa0\xa0\xa0\xa0\xa0\xa0 ",(0,t.jsx)("code",{children:" "})]}),"\n",(0,t.jsxs)("div",{className:"base",children:[(0,t.jsx)("p",{children:(0,t.jsx)("strong",{children:"Checks for membership of object within a sequence,"})}),(0,t.jsxs)("dl",{children:[(0,t.jsx)("dt",{className:"term",children:"Operators:"}),(0,t.jsxs)("dd",{className:"parameter",children:["in : ",(0,t.jsx)("em",{})]}),(0,t.jsx)("dd",{className:"parameter-description",children:"Checks if object is a member of a sequence"}),(0,t.jsxs)("dd",{className:"parameter",children:["not in : ",(0,t.jsx)("em",{})]}),(0,t.jsx)("dd",{className:"parameter-description",children:"Checks if object is not a member of a sequence"}),(0,t.jsx)("dt",{className:"term",children:"Returns:"}),(0,t.jsx)("dd",{children:"True or False"}),(0,t.jsx)("dt",{className:"term",children:"Return Type:"}),(0,t.jsx)("dd",{children:"Boolean"})]})]}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-python",children:"id_ser = pets.get('ID')\r\nid_ser\n"})}),"\n",(0,t.jsx)(i.A,{data:'{"name":"ID","dtype":"object","index":[0,1,2,3,4,5,6,7],"data":["dog_001","cat_001","cat_002","dog_002","dog_003","ham_001","ham_002","cat_003"]}'}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-python",children:"def cat_and_dog_info(pet_id):\r\n id_arr = np.array(pets.get('ID'))\r\n if pet_id not in id_arr:\r\n return 'This pet is not in our record'\n"})}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-python",children:"cat_and_dog_info('cat_009')\n"})}),"\n",(0,t.jsx)(s.p,{children:"'This pet is not in our record'"})]})}function m(e={}){const{wrapper:s}={...(0,r.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(p,{...e})}):p(e)}},8597:(e,s,n)=>{n.d(s,{A:()=>r});n(6540);var t=n(4848);const r=e=>{let{data:s}=e,n=[],r=[],i="",a=[];if(s){const e=JSON.parse(s);n=e.columns||[],r=e.data||[],i=e.indexName||"Index",a=e.index||[]}return(0,t.jsx)("div",{className:"dataframe-container",children:(0,t.jsxs)("table",{className:"dataframe-table",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:i})," ",n.map(((e,s)=>(0,t.jsx)("th",{children:e},s)))]})}),(0,t.jsx)("tbody",{children:r.map(((e,s)=>(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"index-value",children:a[s]})," ",e.map(((e,s)=>(0,t.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},s)))]},s)))})]})})}},8205:(e,s,n)=>{n.d(s,{A:()=>r});n(6540);var t=n(4848);const r=e=>{let{data:s}=e,n=[],r=[],i="",a="";if(s)try{const e=JSON.parse(s);i=e.name||"",a=e.dtype||"Unknown type",n=e.index||[],r=e.data||[]}catch(d){console.error("Error parsing data prop in SeriesComponent:",d)}const c=r.map((e=>JSON.stringify(e)));return(0,t.jsxs)("div",{className:"series-container",children:[(0,t.jsx)("ul",{className:"series-list",children:c.map(((e,s)=>(0,t.jsxs)("li",{className:"series-item",children:[(0,t.jsx)("span",{className:"series-index",children:n[s]}),(0,t.jsx)("span",{className:"series-value",children:e})]},s)))}),(0,t.jsxs)("div",{className:"series-footer",children:["Name: ",i,", dtype: ",a]})]})}},8453:(e,s,n)=>{n.d(s,{R:()=>a,x:()=>c});var t=n(6540);const r={},i=t.createContext(r);function a(e){const s=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),t.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f7ff7449.e7be62ad.js b/assets/js/f7ff7449.e7be62ad.js deleted file mode 100644 index 8114691a..00000000 --- a/assets/js/f7ff7449.e7be62ad.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[7450],{1810:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>d,default:()=>h,frontMatter:()=>i,metadata:()=>c,toc:()=>l});var s=n(4848),a=n(8453),r=n(8597);const i={sidebar_position:10},d=void 0,c={id:"if-statements/in \u2044 not in",title:"in \u2044 not in",description:"bpd.read_csv(filepath)",source:"@site/docs/if-statements/in \u2044 not in.md",sourceDirName:"if-statements",slug:"/if-statements/in \u2044 not in",permalink:"/bpd-reference/docs/if-statements/in \u2044 not in",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/if-statements/in \u2044 not in.md",tags:[],version:"current",sidebarPosition:10,frontMatter:{sidebar_position:10},sidebar:"tutorialSidebar",previous:{title:"if-elif-else",permalink:"/bpd-reference/docs/if-statements/if-elif-else"},next:{title:"Logical Operators",permalink:"/bpd-reference/docs/if-statements/Logical Operators"}},o={},l=[];function p(e){const t={code:"code",hr:"hr",pre:"pre",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("code",{children:"bpd.read_csv(filepath)"}),"\n",(0,s.jsxs)("div",{className:"base",children:[(0,s.jsx)("p",{children:(0,s.jsx)("strong",{children:"Read a comma-separated values (csv) file into DataFrame."})}),(0,s.jsxs)("dl",{children:[(0,s.jsx)("dt",{className:"term",children:"Input:"}),(0,s.jsxs)("dd",{className:"parameter",children:["filepath : ",(0,s.jsx)("em",{children:"string, path object, file-like object."})]}),(0,s.jsx)("dd",{className:"parameter-description",children:"Any valid string path is acceptable. The string could also be a URL."}),(0,s.jsx)("dt",{className:"term",children:"Returns:"}),(0,s.jsx)("dd",{children:"df - DataFrame with read csv file."}),(0,s.jsx)("dt",{className:"term",children:"Return Type:"}),(0,s.jsx)("dd",{children:"DataFrame"})]})]}),"\n",(0,s.jsx)(t.hr,{}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-python",children:"pets = bpd.read_csv('pets.csv')\r\npets\n"})}),"\n",(0,s.jsx)(r.A,{data:'{"columns":["ID","Species","Color","Weight","Age","Is_Cat","Owner_Comment"],"index":[0,1,2,3,4,5,6,7],"data":[["dog_001","dog","black",40.0,5.0,false," There are no bad dogs, only bad owners."],["cat_001","cat","golden",1.5,0.2,true,"My best birthday present ever!!!"],["cat_002","cat","black",15.0,9.0,true,"****All you need is love and a cat.****"],["dog_002","dog","white",80.0,2.0,false,"Love is a wet nose and a wagging tail."],["dog_003","dog","black",25.0,0.5,false,"Be the person your dog thinks you are."],["ham_001","hamster","black",1.0,3.0,false,"No, thank you!"],["ham_002","hamster","golden",0.25,0.2,false,"No, thank you!"],["cat_003","cat","black",10.0,0.0,true,"No, thank you!"]]}'})]})}function h(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(p,{...e})}):p(e)}},8597:(e,t,n)=>{n.d(t,{A:()=>a});n(6540);var s=n(4848);const a=e=>{let{data:t}=e,n=[],a=[],r="",i=[];if(t){const e=JSON.parse(t);n=e.columns||[],a=e.data||[],r=e.indexName||"Index",i=e.index||[]}return(0,s.jsx)("div",{className:"dataframe-container",children:(0,s.jsxs)("table",{className:"dataframe-table",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:r})," ",n.map(((e,t)=>(0,s.jsx)("th",{children:e},t)))]})}),(0,s.jsx)("tbody",{children:a.map(((e,t)=>(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{className:"index-value",children:i[t]})," ",e.map(((e,t)=>(0,s.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},t)))]},t)))})]})})}},8453:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>d});var s=n(6540);const a={},r=s.createContext(a);function i(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.e805a5d3.js b/assets/js/runtime~main.4cd759b5.js similarity index 97% rename from assets/js/runtime~main.e805a5d3.js rename to assets/js/runtime~main.4cd759b5.js index e041b008..a2a64688 100644 --- a/assets/js/runtime~main.e805a5d3.js +++ b/assets/js/runtime~main.4cd759b5.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,f,c,d,b={},r={};function t(e){var a=r[e];if(void 0!==a)return a.exports;var f=r[e]={id:e,loaded:!1,exports:{}};return b[e].call(f.exports,f,f.exports,t),f.loaded=!0,f.exports}t.m=b,t.c=r,e=[],t.O=(a,f,c,d)=>{if(!f){var b=1/0;for(i=0;i=d)&&Object.keys(t.O).every((e=>t.O[e](f[o])))?f.splice(o--,1):(r=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[f,c,d]},t.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a:a}),a},f=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,t.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var d=Object.create(null);t.r(d);var b={};a=a||[null,f({}),f([]),f(f)];for(var r=2&c&&e;"object"==typeof r&&!~a.indexOf(r);r=f(r))Object.getOwnPropertyNames(r).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,t.d(d,b),d},t.d=(e,a)=>{for(var f in a)t.o(a,f)&&!t.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce(((a,f)=>(t.f[f](e,a),a)),[])),t.u=e=>"assets/js/"+({10:"449c944f",59:"f9e6e799",122:"3c176041",265:"e8a68f28",339:"8fb6bffd",586:"caa881ba",647:"db012a9c",683:"dd35b4d6",709:"1ae55b72",1290:"d64c4703",1607:"faf9f7da",1819:"d6e622cf",1860:"0aea092c",1903:"acecf23e",1917:"cd8d7c5b",1972:"73664a40",2411:"4e2ae7bd",2461:"fec6952b",2479:"fc0ef79f",2634:"c4f5d8e4",2711:"9e4087bc",2865:"532462a7",3249:"ccc49370",3554:"cb884b48",3583:"7063d839",3626:"d8c458b9",3637:"f4f34a3a",3694:"8717b14a",3847:"60cd21f2",3976:"0e384e19",4014:"8cfe8d4e",4134:"393be207",4425:"2e96a937",4813:"6875c492",5164:"cbe41db6",5391:"cd451366",5427:"956f17b0",5443:"add9b02f",5480:"09399a2b",5521:"38b2e376",5557:"d9f32620",5589:"ea885f1b",5612:"8216cb10",5633:"fba3d385",5961:"37da87f0",5983:"50f8bbe2",6061:"1f391b9e",6157:"8281cf06",6216:"a2dab359",6466:"1a947478",6564:"c5bc8ce2",6925:"ecad1ce6",6952:"40d21e43",6969:"14eb3368",7006:"74ef759f",7015:"7712e875",7098:"a7bd4aaa",7099:"f9e82987",7119:"b8bdab7d",7181:"cd3338e7",7206:"c2718811",7364:"913421e4",7415:"a569f9e9",7450:"f7ff7449",7472:"814f3328",7539:"4bc2e293",7643:"a6aa9e1f",8209:"01a85c17",8401:"17896441",8405:"6d7cf8c9",8510:"6669e58d",8559:"3349ad3a",8581:"935f2afb",8609:"925b3f96",8737:"7661071f",9048:"a94703ab",9093:"72dc5786",9325:"59362658",9328:"e273c56f",9647:"5e95c892",9797:"85bbc213",9799:"44007711",9926:"67908667"}[e]||e)+"."+{10:"27f40796",59:"ce94ed9d",122:"28a668ee",265:"f663bfff",339:"fd9666dd",586:"72dab9d7",647:"921c663f",683:"5d8070ce",709:"37350a43",1290:"918b3875",1607:"a670a186",1819:"3b1d4982",1860:"32507e44",1903:"978cac9e",1917:"ec0dd461",1972:"6864c464",2237:"e9544c0b",2411:"97a58dc5",2461:"8ff13073",2479:"8abc9f6f",2634:"3db290d2",2711:"4f5138d5",2865:"d5e06587",3242:"4cc84a19",3249:"9b5c8bb9",3554:"3647820b",3583:"33d2c6c9",3626:"653b1fba",3637:"b17e442f",3694:"5454028b",3847:"e4614d5c",3976:"e4eeaaf9",4014:"b9cf7c6f",4134:"6cb884a7",4425:"af8618d7",4813:"aed177af",5164:"659bace3",5391:"27038027",5427:"95f66799",5443:"bf2acfd8",5480:"c91de645",5521:"3d83e140",5557:"a5ae411b",5589:"9a7123df",5612:"2c9b281f",5633:"3a6031ad",5961:"2eb2a66a",5983:"50a3e226",6061:"00f715df",6157:"d644122b",6216:"c6df18aa",6466:"2ccb69b8",6564:"61d97a37",6925:"45e66795",6952:"b8448748",6969:"9e5192b3",7006:"da34dbfd",7015:"974145a3",7036:"3bb8737c",7098:"89c24f1c",7099:"afcfa9c9",7119:"6f9d789f",7181:"930b39ac",7206:"8ab056e9",7364:"827bee87",7415:"e876049a",7450:"e7be62ad",7472:"2a71da77",7539:"5bee3155",7643:"d5e01cc6",8209:"8b130ac7",8401:"09f206df",8405:"a47407ff",8510:"1eb7a6d8",8559:"33a087db",8581:"c3c41b35",8609:"cba4ee15",8737:"bb313545",9048:"f1dfcffe",9093:"8e6bc15e",9325:"777bc4c6",9328:"f95f7890",9647:"95974c14",9797:"59604264",9799:"4b77fcd6",9926:"b04c28f1"}[e]+".js",t.miniCssF=e=>{},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),c={},d="bpd-reference:",t.l=(e,a,f,b)=>{if(c[e])c[e].push(a);else{var r,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i{r.onerror=r.onload=null,clearTimeout(s);var d=c[e];if(delete c[e],r.parentNode&&r.parentNode.removeChild(r),d&&d.forEach((e=>e(f))),a)return a(f)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=l.bind(null,r.onerror),r.onload=l.bind(null,r.onload),o&&document.head.appendChild(r)}},t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.p="/bpd-reference/",t.gca=function(e){return e={17896441:"8401",44007711:"9799",59362658:"9325",67908667:"9926","449c944f":"10",f9e6e799:"59","3c176041":"122",e8a68f28:"265","8fb6bffd":"339",caa881ba:"586",db012a9c:"647",dd35b4d6:"683","1ae55b72":"709",d64c4703:"1290",faf9f7da:"1607",d6e622cf:"1819","0aea092c":"1860",acecf23e:"1903",cd8d7c5b:"1917","73664a40":"1972","4e2ae7bd":"2411",fec6952b:"2461",fc0ef79f:"2479",c4f5d8e4:"2634","9e4087bc":"2711","532462a7":"2865",ccc49370:"3249",cb884b48:"3554","7063d839":"3583",d8c458b9:"3626",f4f34a3a:"3637","8717b14a":"3694","60cd21f2":"3847","0e384e19":"3976","8cfe8d4e":"4014","393be207":"4134","2e96a937":"4425","6875c492":"4813",cbe41db6:"5164",cd451366:"5391","956f17b0":"5427",add9b02f:"5443","09399a2b":"5480","38b2e376":"5521",d9f32620:"5557",ea885f1b:"5589","8216cb10":"5612",fba3d385:"5633","37da87f0":"5961","50f8bbe2":"5983","1f391b9e":"6061","8281cf06":"6157",a2dab359:"6216","1a947478":"6466",c5bc8ce2:"6564",ecad1ce6:"6925","40d21e43":"6952","14eb3368":"6969","74ef759f":"7006","7712e875":"7015",a7bd4aaa:"7098",f9e82987:"7099",b8bdab7d:"7119",cd3338e7:"7181",c2718811:"7206","913421e4":"7364",a569f9e9:"7415",f7ff7449:"7450","814f3328":"7472","4bc2e293":"7539",a6aa9e1f:"7643","01a85c17":"8209","6d7cf8c9":"8405","6669e58d":"8510","3349ad3a":"8559","935f2afb":"8581","925b3f96":"8609","7661071f":"8737",a94703ab:"9048","72dc5786":"9093",e273c56f:"9328","5e95c892":"9647","85bbc213":"9797"}[e]||e,t.p+t.u(e)},(()=>{var e={5354:0,1869:0};t.f.j=(a,f)=>{var c=t.o(e,a)?e[a]:void 0;if(0!==c)if(c)f.push(c[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var d=new Promise(((f,d)=>c=e[a]=[f,d]));f.push(c[2]=d);var b=t.p+t.u(a),r=new Error;t.l(b,(f=>{if(t.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var d=f&&("load"===f.type?"missing":f.type),b=f&&f.target&&f.target.src;r.message="Loading chunk "+a+" failed.\n("+d+": "+b+")",r.name="ChunkLoadError",r.type=d,r.request=b,c[1](r)}}),"chunk-"+a,a)}},t.O.j=a=>0===e[a];var a=(a,f)=>{var c,d,b=f[0],r=f[1],o=f[2],n=0;if(b.some((a=>0!==e[a]))){for(c in r)t.o(r,c)&&(t.m[c]=r[c]);if(o)var i=o(t)}for(a&&a(f);n{"use strict";var e,a,f,c,d,b={},r={};function t(e){var a=r[e];if(void 0!==a)return a.exports;var f=r[e]={id:e,loaded:!1,exports:{}};return b[e].call(f.exports,f,f.exports,t),f.loaded=!0,f.exports}t.m=b,t.c=r,e=[],t.O=(a,f,c,d)=>{if(!f){var b=1/0;for(i=0;i=d)&&Object.keys(t.O).every((e=>t.O[e](f[o])))?f.splice(o--,1):(r=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[f,c,d]},t.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a:a}),a},f=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,t.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var d=Object.create(null);t.r(d);var b={};a=a||[null,f({}),f([]),f(f)];for(var r=2&c&&e;"object"==typeof r&&!~a.indexOf(r);r=f(r))Object.getOwnPropertyNames(r).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,t.d(d,b),d},t.d=(e,a)=>{for(var f in a)t.o(a,f)&&!t.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce(((a,f)=>(t.f[f](e,a),a)),[])),t.u=e=>"assets/js/"+({10:"449c944f",59:"f9e6e799",122:"3c176041",265:"e8a68f28",339:"8fb6bffd",586:"caa881ba",647:"db012a9c",683:"dd35b4d6",709:"1ae55b72",1290:"d64c4703",1607:"faf9f7da",1819:"d6e622cf",1860:"0aea092c",1903:"acecf23e",1917:"cd8d7c5b",1972:"73664a40",2411:"4e2ae7bd",2461:"fec6952b",2479:"fc0ef79f",2634:"c4f5d8e4",2711:"9e4087bc",2865:"532462a7",3249:"ccc49370",3554:"cb884b48",3583:"7063d839",3626:"d8c458b9",3637:"f4f34a3a",3694:"8717b14a",3847:"60cd21f2",3976:"0e384e19",4014:"8cfe8d4e",4134:"393be207",4425:"2e96a937",4813:"6875c492",5164:"cbe41db6",5391:"cd451366",5427:"956f17b0",5443:"add9b02f",5480:"09399a2b",5521:"38b2e376",5557:"d9f32620",5589:"ea885f1b",5612:"8216cb10",5633:"fba3d385",5961:"37da87f0",5983:"50f8bbe2",6061:"1f391b9e",6157:"8281cf06",6216:"a2dab359",6466:"1a947478",6564:"c5bc8ce2",6925:"ecad1ce6",6952:"40d21e43",6969:"14eb3368",7006:"74ef759f",7015:"7712e875",7098:"a7bd4aaa",7099:"f9e82987",7119:"b8bdab7d",7181:"cd3338e7",7206:"c2718811",7364:"913421e4",7415:"a569f9e9",7450:"f7ff7449",7472:"814f3328",7539:"4bc2e293",7643:"a6aa9e1f",8209:"01a85c17",8401:"17896441",8405:"6d7cf8c9",8510:"6669e58d",8559:"3349ad3a",8581:"935f2afb",8609:"925b3f96",8737:"7661071f",9048:"a94703ab",9093:"72dc5786",9325:"59362658",9328:"e273c56f",9647:"5e95c892",9797:"85bbc213",9799:"44007711",9926:"67908667"}[e]||e)+"."+{10:"27f40796",59:"ce94ed9d",122:"28a668ee",265:"f663bfff",339:"fd9666dd",586:"72dab9d7",647:"921c663f",683:"5d8070ce",709:"37350a43",1290:"918b3875",1607:"a670a186",1819:"3b1d4982",1860:"32507e44",1903:"978cac9e",1917:"ec0dd461",1972:"6864c464",2237:"e9544c0b",2411:"97a58dc5",2461:"8ff13073",2479:"8abc9f6f",2634:"3db290d2",2711:"4f5138d5",2865:"d5e06587",3242:"4cc84a19",3249:"9b5c8bb9",3554:"3647820b",3583:"33d2c6c9",3626:"653b1fba",3637:"b17e442f",3694:"5454028b",3847:"e4614d5c",3976:"e4eeaaf9",4014:"b9cf7c6f",4134:"6cb884a7",4425:"af8618d7",4813:"aed177af",5164:"08221b91",5391:"27038027",5427:"95f66799",5443:"bf2acfd8",5480:"c91de645",5521:"3d83e140",5557:"a5ae411b",5589:"9a7123df",5612:"2c9b281f",5633:"3a6031ad",5961:"2eb2a66a",5983:"50a3e226",6061:"00f715df",6157:"d644122b",6216:"c6df18aa",6466:"2ccb69b8",6564:"61d97a37",6925:"45e66795",6952:"b8448748",6969:"9e5192b3",7006:"da34dbfd",7015:"974145a3",7036:"3bb8737c",7098:"89c24f1c",7099:"afcfa9c9",7119:"6f9d789f",7181:"930b39ac",7206:"8ab056e9",7364:"827bee87",7415:"e876049a",7450:"e5fc7f99",7472:"2a71da77",7539:"5bee3155",7643:"d5e01cc6",8209:"8b130ac7",8401:"09f206df",8405:"a47407ff",8510:"1eb7a6d8",8559:"33a087db",8581:"10ff2d7a",8609:"cba4ee15",8737:"bb313545",9048:"f1dfcffe",9093:"8e6bc15e",9325:"777bc4c6",9328:"f95f7890",9647:"95974c14",9797:"59604264",9799:"4b77fcd6",9926:"b04c28f1"}[e]+".js",t.miniCssF=e=>{},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),c={},d="bpd-reference:",t.l=(e,a,f,b)=>{if(c[e])c[e].push(a);else{var r,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i{r.onerror=r.onload=null,clearTimeout(s);var d=c[e];if(delete c[e],r.parentNode&&r.parentNode.removeChild(r),d&&d.forEach((e=>e(f))),a)return a(f)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=l.bind(null,r.onerror),r.onload=l.bind(null,r.onload),o&&document.head.appendChild(r)}},t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.p="/bpd-reference/",t.gca=function(e){return e={17896441:"8401",44007711:"9799",59362658:"9325",67908667:"9926","449c944f":"10",f9e6e799:"59","3c176041":"122",e8a68f28:"265","8fb6bffd":"339",caa881ba:"586",db012a9c:"647",dd35b4d6:"683","1ae55b72":"709",d64c4703:"1290",faf9f7da:"1607",d6e622cf:"1819","0aea092c":"1860",acecf23e:"1903",cd8d7c5b:"1917","73664a40":"1972","4e2ae7bd":"2411",fec6952b:"2461",fc0ef79f:"2479",c4f5d8e4:"2634","9e4087bc":"2711","532462a7":"2865",ccc49370:"3249",cb884b48:"3554","7063d839":"3583",d8c458b9:"3626",f4f34a3a:"3637","8717b14a":"3694","60cd21f2":"3847","0e384e19":"3976","8cfe8d4e":"4014","393be207":"4134","2e96a937":"4425","6875c492":"4813",cbe41db6:"5164",cd451366:"5391","956f17b0":"5427",add9b02f:"5443","09399a2b":"5480","38b2e376":"5521",d9f32620:"5557",ea885f1b:"5589","8216cb10":"5612",fba3d385:"5633","37da87f0":"5961","50f8bbe2":"5983","1f391b9e":"6061","8281cf06":"6157",a2dab359:"6216","1a947478":"6466",c5bc8ce2:"6564",ecad1ce6:"6925","40d21e43":"6952","14eb3368":"6969","74ef759f":"7006","7712e875":"7015",a7bd4aaa:"7098",f9e82987:"7099",b8bdab7d:"7119",cd3338e7:"7181",c2718811:"7206","913421e4":"7364",a569f9e9:"7415",f7ff7449:"7450","814f3328":"7472","4bc2e293":"7539",a6aa9e1f:"7643","01a85c17":"8209","6d7cf8c9":"8405","6669e58d":"8510","3349ad3a":"8559","935f2afb":"8581","925b3f96":"8609","7661071f":"8737",a94703ab:"9048","72dc5786":"9093",e273c56f:"9328","5e95c892":"9647","85bbc213":"9797"}[e]||e,t.p+t.u(e)},(()=>{var e={5354:0,1869:0};t.f.j=(a,f)=>{var c=t.o(e,a)?e[a]:void 0;if(0!==c)if(c)f.push(c[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var d=new Promise(((f,d)=>c=e[a]=[f,d]));f.push(c[2]=d);var b=t.p+t.u(a),r=new Error;t.l(b,(f=>{if(t.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var d=f&&("load"===f.type?"missing":f.type),b=f&&f.target&&f.target.src;r.message="Loading chunk "+a+" failed.\n("+d+": "+b+")",r.name="ChunkLoadError",r.type=d,r.request=b,c[1](r)}}),"chunk-"+a,a)}},t.O.j=a=>0===e[a];var a=(a,f)=>{var c,d,b=f[0],r=f[1],o=f[2],n=0;if(b.some((a=>0!==e[a]))){for(c in r)t.o(r,c)&&(t.m[c]=r[c]);if(o)var i=o(t)}for(a&&a(f);n Archive | bpd - + diff --git a/blog/first-blog-post/index.html b/blog/first-blog-post/index.html index c382ba27..8e334e2f 100644 --- a/blog/first-blog-post/index.html +++ b/blog/first-blog-post/index.html @@ -5,7 +5,7 @@ First Blog Post | bpd - + diff --git a/blog/index.html b/blog/index.html index 3cf0b25e..52225241 100644 --- a/blog/index.html +++ b/blog/index.html @@ -5,7 +5,7 @@ Blog | bpd - + diff --git a/blog/long-blog-post/index.html b/blog/long-blog-post/index.html index 8a7f650e..fe541e12 100644 --- a/blog/long-blog-post/index.html +++ b/blog/long-blog-post/index.html @@ -5,7 +5,7 @@ Long Blog Post | bpd - + diff --git a/blog/mdx-blog-post/index.html b/blog/mdx-blog-post/index.html index 6359c971..097a3dd3 100644 --- a/blog/mdx-blog-post/index.html +++ b/blog/mdx-blog-post/index.html @@ -5,7 +5,7 @@ MDX Blog Post | bpd - + diff --git a/blog/tags/docusaurus/index.html b/blog/tags/docusaurus/index.html index bd93da66..d6522b93 100644 --- a/blog/tags/docusaurus/index.html +++ b/blog/tags/docusaurus/index.html @@ -5,7 +5,7 @@ 4 posts tagged with "docusaurus" | bpd - + diff --git a/blog/tags/facebook/index.html b/blog/tags/facebook/index.html index a1b79593..466d670b 100644 --- a/blog/tags/facebook/index.html +++ b/blog/tags/facebook/index.html @@ -5,7 +5,7 @@ One post tagged with "facebook" | bpd - + diff --git a/blog/tags/hello/index.html b/blog/tags/hello/index.html index 2f0a61b7..17b83e3d 100644 --- a/blog/tags/hello/index.html +++ b/blog/tags/hello/index.html @@ -5,7 +5,7 @@ 2 posts tagged with "hello" | bpd - + diff --git a/blog/tags/hola/index.html b/blog/tags/hola/index.html index 875a793a..43a1162f 100644 --- a/blog/tags/hola/index.html +++ b/blog/tags/hola/index.html @@ -5,7 +5,7 @@ One post tagged with "hola" | bpd - + diff --git a/blog/tags/index.html b/blog/tags/index.html index aa4856bf..128fea6c 100644 --- a/blog/tags/index.html +++ b/blog/tags/index.html @@ -5,7 +5,7 @@ Tags | bpd - + diff --git a/blog/welcome/index.html b/blog/welcome/index.html index f6d79f37..a41b86d0 100644 --- a/blog/welcome/index.html +++ b/blog/welcome/index.html @@ -5,7 +5,7 @@ Welcome | bpd - + diff --git a/docs/Functions/Applying Functions/index.html b/docs/Functions/Applying Functions/index.html index 3dbd9ce4..7f5d4ee4 100644 --- a/docs/Functions/Applying Functions/index.html +++ b/docs/Functions/Applying Functions/index.html @@ -5,7 +5,7 @@ Applying Functions | bpd - + diff --git a/docs/Functions/Writing Functions/index.html b/docs/Functions/Writing Functions/index.html index 9acc04e7..8da77e89 100644 --- a/docs/Functions/Writing Functions/index.html +++ b/docs/Functions/Writing Functions/index.html @@ -5,7 +5,7 @@ Writing Functions | bpd - + diff --git a/docs/accessing-data/df.shape/index.html b/docs/accessing-data/df.shape/index.html index f027ceee..bec43e76 100644 --- a/docs/accessing-data/df.shape/index.html +++ b/docs/accessing-data/df.shape/index.html @@ -5,7 +5,7 @@ df.shape | bpd - + diff --git a/docs/arrays-and-numpy/arr[]/index.html b/docs/arrays-and-numpy/arr[]/index.html index 919a39c4..710ca3dc 100644 --- a/docs/arrays-and-numpy/arr[]/index.html +++ b/docs/arrays-and-numpy/arr[]/index.html @@ -5,7 +5,7 @@ arr[] | bpd - + diff --git a/docs/building-organizing/bpd.DataFrame()/index.html b/docs/building-organizing/bpd.DataFrame()/index.html index 17dede2c..f958242f 100644 --- a/docs/building-organizing/bpd.DataFrame()/index.html +++ b/docs/building-organizing/bpd.DataFrame()/index.html @@ -5,7 +5,7 @@ bpd.DataFrame() | bpd - + diff --git a/docs/building-organizing/bpd.read_csv()/index.html b/docs/building-organizing/bpd.read_csv()/index.html index 423bb2d2..10aaa86b 100644 --- a/docs/building-organizing/bpd.read_csv()/index.html +++ b/docs/building-organizing/bpd.read_csv()/index.html @@ -5,7 +5,7 @@ bpd.read_csv() | bpd - + diff --git a/docs/building-organizing/df.assign()/index.html b/docs/building-organizing/df.assign()/index.html index 772ac041..20e55934 100644 --- a/docs/building-organizing/df.assign()/index.html +++ b/docs/building-organizing/df.assign()/index.html @@ -5,7 +5,7 @@ df.assign() | bpd - + diff --git a/docs/building-organizing/df.drop()/index.html b/docs/building-organizing/df.drop()/index.html index a0e18954..bc2054df 100644 --- a/docs/building-organizing/df.drop()/index.html +++ b/docs/building-organizing/df.drop()/index.html @@ -5,7 +5,7 @@ df.drop() | bpd - + diff --git a/docs/building-organizing/df.merge()/index.html b/docs/building-organizing/df.merge()/index.html index 69161806..b1863979 100644 --- a/docs/building-organizing/df.merge()/index.html +++ b/docs/building-organizing/df.merge()/index.html @@ -5,7 +5,7 @@ df.merge() | bpd - + diff --git a/docs/building-organizing/df.reset_index()/index.html b/docs/building-organizing/df.reset_index()/index.html index b8c9c8f3..a35ac90f 100644 --- a/docs/building-organizing/df.reset_index()/index.html +++ b/docs/building-organizing/df.reset_index()/index.html @@ -5,7 +5,7 @@ df.reset_index() | bpd - + diff --git a/docs/building-organizing/df.set_index()/index.html b/docs/building-organizing/df.set_index()/index.html index 6d4a1528..bc5d5243 100644 --- a/docs/building-organizing/df.set_index()/index.html +++ b/docs/building-organizing/df.set_index()/index.html @@ -5,7 +5,7 @@ df.set_index() | bpd - + diff --git a/docs/building-organizing/df.sort_values()/index.html b/docs/building-organizing/df.sort_values()/index.html index a1aeb99e..6d292d8f 100644 --- a/docs/building-organizing/df.sort_values()/index.html +++ b/docs/building-organizing/df.sort_values()/index.html @@ -5,7 +5,7 @@ df.sort_values() | bpd - + diff --git a/docs/building-organizing/index.html b/docs/building-organizing/index.html index e1c1fe6d..54911fa7 100644 --- a/docs/building-organizing/index.html +++ b/docs/building-organizing/index.html @@ -5,7 +5,7 @@ Building and Organizing DataFrames | bpd - + diff --git a/docs/category/accessing-data/index.html b/docs/category/accessing-data/index.html index b3cc5f06..3a343592 100644 --- a/docs/category/accessing-data/index.html +++ b/docs/category/accessing-data/index.html @@ -5,7 +5,7 @@ Accessing Data | bpd - + diff --git a/docs/category/arrays-and-numpy/index.html b/docs/category/arrays-and-numpy/index.html index d729c6ab..c1fea8e2 100644 --- a/docs/category/arrays-and-numpy/index.html +++ b/docs/category/arrays-and-numpy/index.html @@ -5,7 +5,7 @@ Arrays and NumPy | bpd - + diff --git a/docs/category/if-statements/index.html b/docs/category/if-statements/index.html index 2f397ea9..9aa6d92c 100644 --- a/docs/category/if-statements/index.html +++ b/docs/category/if-statements/index.html @@ -5,10 +5,10 @@ if-statements | bpd - + - + \ No newline at end of file diff --git a/docs/category/plotting/index.html b/docs/category/plotting/index.html index 4a58884a..74f6fd3c 100644 --- a/docs/category/plotting/index.html +++ b/docs/category/plotting/index.html @@ -5,7 +5,7 @@ Plotting | bpd - + diff --git a/docs/for-loops/index.html b/docs/for-loops/index.html index 223cefe3..6fec2f12 100644 --- a/docs/for-loops/index.html +++ b/docs/for-loops/index.html @@ -5,7 +5,7 @@ for-loops | bpd - + diff --git a/docs/grouping/aggregation/count()/index.html b/docs/grouping/aggregation/count()/index.html index fb5b7d55..55c2fa86 100644 --- a/docs/grouping/aggregation/count()/index.html +++ b/docs/grouping/aggregation/count()/index.html @@ -5,7 +5,7 @@ count() | bpd - + diff --git a/docs/grouping/aggregation/max()/index.html b/docs/grouping/aggregation/max()/index.html index 0a4e8c0f..78e9617f 100644 --- a/docs/grouping/aggregation/max()/index.html +++ b/docs/grouping/aggregation/max()/index.html @@ -5,7 +5,7 @@ max() | bpd - + diff --git a/docs/grouping/aggregation/mean()/index.html b/docs/grouping/aggregation/mean()/index.html index 07136ea3..c0c70091 100644 --- a/docs/grouping/aggregation/mean()/index.html +++ b/docs/grouping/aggregation/mean()/index.html @@ -5,7 +5,7 @@ mean() | bpd - + diff --git a/docs/grouping/aggregation/median()/index.html b/docs/grouping/aggregation/median()/index.html index bdbdf01e..e64903a6 100644 --- a/docs/grouping/aggregation/median()/index.html +++ b/docs/grouping/aggregation/median()/index.html @@ -5,7 +5,7 @@ median() | bpd - + diff --git a/docs/grouping/aggregation/min()/index.html b/docs/grouping/aggregation/min()/index.html index effc2abe..26c69a52 100644 --- a/docs/grouping/aggregation/min()/index.html +++ b/docs/grouping/aggregation/min()/index.html @@ -5,7 +5,7 @@ min() | bpd - + diff --git a/docs/grouping/aggregation/sum()/index.html b/docs/grouping/aggregation/sum()/index.html index f8be27bc..bc3987d0 100644 --- a/docs/grouping/aggregation/sum()/index.html +++ b/docs/grouping/aggregation/sum()/index.html @@ -5,7 +5,7 @@ sum() | bpd - + diff --git a/docs/grouping/groupby/index.html b/docs/grouping/groupby/index.html index 7e742195..bfc50f3a 100644 --- a/docs/grouping/groupby/index.html +++ b/docs/grouping/groupby/index.html @@ -5,7 +5,7 @@ groupby | bpd - + diff --git a/docs/if-statements/Logical Operators/index.html b/docs/if-statements/Logical Operators/index.html index 4aa04d20..47a8db24 100644 --- a/docs/if-statements/Logical Operators/index.html +++ b/docs/if-statements/Logical Operators/index.html @@ -3,16 +3,27 @@ -Logical Operators | bpd +Logical Operators | bpd - + -

Logical Operators

bpd.read_csv(filepath) -

Read a comma-separated values (csv) file into DataFrame.

Input:
filepath : string, path object, file-like object.
Any valid string path is acceptable. The string could also be a URL.
Returns:
df - DataFrame with read csv file.
Return Type:
DataFrame
+

Logical Operators

if <condition> and <condition>:
+       <if body>
+if <condition> or <condition>:
+       <if body>
+if not(<condition>):
+       <if body>

+

Allows for multiple conditions to be combined at the same time.

Operators:
and :
If all conditions are satisfied, the if body is executed.
or :
If at least one of the conditions is satisfied, the if body is executed.
not :
If the reverse of the condition is satisfied, the if body is executed.
Returns:
True or False
Return Type:
Boolean

-
pets = bpd.read_csv('pets.csv')
pets
-
Index IDSpeciesColorWeightAgeIs_CatOwner_Comment
0 dog_001dogblack405False There are no bad dogs, only bad owners.
1 cat_001catgolden1.50.2TrueMy best birthday present ever!!!
2 cat_002catblack159True****All you need is love and a cat.****
3 dog_002dogwhite802FalseLove is a wet nose and a wagging tail.
4 dog_003dogblack250.5FalseBe the person your dog thinks you are.
5 ham_001hamsterblack13FalseNo, thank you!
6 ham_002hamstergolden0.250.2FalseNo, thank you!
7 cat_003catblack100TrueNo, thank you!
+
Index IDSpeciesColorWeightAge
0 dog_001dogblack405
1 cat_001catgolden1.50.2
2 cat_002catblack159
3 dog_002dogwhite802
4 dog_003dogblack250.5
5 ham_001hamsterblack13
6 ham_002hamstergolden0.250.2
7 cat_003catblack100
+
def more_descriptive_name(id_str, species, color, weight, age):
return id_str + ': This ' + color + ' ' + species + ' weighs ' + weight + ' lbs and is ' + age + ' years old'

def cat_and_dog_info(pet_id):
id_arr = np.array(pets.get('ID'))
if pet_id not in id_arr:
return 'This pet is not in our record'
pets_info = pets[pets.get('ID') == pet_id]
age = pets_info.get('Age').iloc[0]
weight = pets_info.get('Weight').iloc[0]
species = pets_info.get('Species').iloc[0]
color = pets_info.get('Color').iloc[0]
if (species == 'dog') and (age < 1.5):
return pet_id + ': This is a puppy 🐶'
elif (species == 'cat') and (age < 1):
return pet_id + ': This is a kitten 🐱'
elif (species == 'dog') or (species == 'cat'):
weight = str(weight)
age = str(age)
return more_descriptive_name(pet_id, species, color, weight, age)
+
cat_and_dog_info('dog_001')
+

'dog_001: This black dog weighs 40.0 lbs and is 5.0 years old'

+
cat_and_dog_info('cat_001')
+

'cat_001: This is a kitten 🐱'

+
cat_and_dog_info('cat_009')
+

'This pet is not in our record'

\ No newline at end of file diff --git a/docs/if-statements/if-elif-else/index.html b/docs/if-statements/if-elif-else/index.html index 40e04a87..47af4734 100644 --- a/docs/if-statements/if-elif-else/index.html +++ b/docs/if-statements/if-elif-else/index.html @@ -5,7 +5,7 @@ if-elif-else | bpd - + diff --git "a/docs/if-statements/in \342\201\204 not in/index.html" "b/docs/if-statements/in \342\201\204 not in/index.html" index 592984be..0586473a 100644 --- "a/docs/if-statements/in \342\201\204 not in/index.html" +++ "b/docs/if-statements/in \342\201\204 not in/index.html" @@ -3,16 +3,22 @@ -in ⁄ not in | bpd +in ⁄ not in | bpd - + -

in ⁄ not in

bpd.read_csv(filepath) -

Read a comma-separated values (csv) file into DataFrame.

Input:
filepath : string, path object, file-like object.
Any valid string path is acceptable. The string could also be a URL.
Returns:
df - DataFrame with read csv file.
Return Type:
DataFrame
+

in ⁄ not in

if <object> in <sequence>:
+       <if body>
+if <object> not in <sequence>:
+       <if body>

+

Checks for membership of object within a sequence,

Operators:
in :
Checks if object is a member of a sequence
not in :
Checks if object is not a member of a sequence
Returns:
True or False
Return Type:
Boolean

-
pets = bpd.read_csv('pets.csv')
pets
-
Index IDSpeciesColorWeightAgeIs_CatOwner_Comment
0 dog_001dogblack405False There are no bad dogs, only bad owners.
1 cat_001catgolden1.50.2TrueMy best birthday present ever!!!
2 cat_002catblack159True****All you need is love and a cat.****
3 dog_002dogwhite802FalseLove is a wet nose and a wagging tail.
4 dog_003dogblack250.5FalseBe the person your dog thinks you are.
5 ham_001hamsterblack13FalseNo, thank you!
6 ham_002hamstergolden0.250.2FalseNo, thank you!
7 cat_003catblack100TrueNo, thank you!
+
id_ser = pets.get('ID')
id_ser
+
  • 0"dog_001"
  • 1"cat_001"
  • 2"cat_002"
  • 3"dog_002"
  • 4"dog_003"
  • 5"ham_001"
  • 6"ham_002"
  • 7"cat_003"
+
def cat_and_dog_info(pet_id):
id_arr = np.array(pets.get('ID'))
if pet_id not in id_arr:
return 'This pet is not in our record'
+
cat_and_dog_info('cat_009')
+

'This pet is not in our record'

\ No newline at end of file diff --git a/docs/intro/index.html b/docs/intro/index.html index f65cd138..b059bf56 100644 --- a/docs/intro/index.html +++ b/docs/intro/index.html @@ -5,7 +5,7 @@ intro | bpd - + diff --git a/docs/plotting/histogram/index.html b/docs/plotting/histogram/index.html index 90b7e3ee..6cbc286f 100644 --- a/docs/plotting/histogram/index.html +++ b/docs/plotting/histogram/index.html @@ -5,7 +5,7 @@ histogram | bpd - + diff --git a/docs/series-methods/index.html b/docs/series-methods/index.html index 58d7b83d..7c520bbf 100644 --- a/docs/series-methods/index.html +++ b/docs/series-methods/index.html @@ -5,7 +5,7 @@ Series Methods | bpd - + diff --git a/docs/series-methods/ser.count()/index.html b/docs/series-methods/ser.count()/index.html index 075e232d..ceb6584e 100644 --- a/docs/series-methods/ser.count()/index.html +++ b/docs/series-methods/ser.count()/index.html @@ -5,7 +5,7 @@ ser.count() | bpd - + diff --git a/docs/series-methods/ser.max()/index.html b/docs/series-methods/ser.max()/index.html index ca3461e0..727ccbec 100644 --- a/docs/series-methods/ser.max()/index.html +++ b/docs/series-methods/ser.max()/index.html @@ -5,7 +5,7 @@ ser.max() | bpd - + diff --git a/docs/series-methods/ser.mean()/index.html b/docs/series-methods/ser.mean()/index.html index b8730dea..4d8f7adf 100644 --- a/docs/series-methods/ser.mean()/index.html +++ b/docs/series-methods/ser.mean()/index.html @@ -5,7 +5,7 @@ ser.mean() | bpd - + diff --git a/docs/series-methods/ser.median()/index.html b/docs/series-methods/ser.median()/index.html index 68b8b2a1..86432ce2 100644 --- a/docs/series-methods/ser.median()/index.html +++ b/docs/series-methods/ser.median()/index.html @@ -5,7 +5,7 @@ ser.median() | bpd - + diff --git a/docs/series-methods/ser.min()/index.html b/docs/series-methods/ser.min()/index.html index f1f76a91..9c810dbb 100644 --- a/docs/series-methods/ser.min()/index.html +++ b/docs/series-methods/ser.min()/index.html @@ -5,7 +5,7 @@ ser.min() | bpd - + diff --git a/docs/series-methods/ser.str.capitalize()/index.html b/docs/series-methods/ser.str.capitalize()/index.html index 29e32a26..c6341ba5 100644 --- a/docs/series-methods/ser.str.capitalize()/index.html +++ b/docs/series-methods/ser.str.capitalize()/index.html @@ -5,7 +5,7 @@ ser.str.capitalize() | bpd - + diff --git a/docs/series-methods/ser.str.contains()/index.html b/docs/series-methods/ser.str.contains()/index.html index 74010552..c9b446b1 100644 --- a/docs/series-methods/ser.str.contains()/index.html +++ b/docs/series-methods/ser.str.contains()/index.html @@ -5,7 +5,7 @@ ser.str.contains() | bpd - + diff --git a/docs/series-methods/ser.str.len()/index.html b/docs/series-methods/ser.str.len()/index.html index de545994..e0b41340 100644 --- a/docs/series-methods/ser.str.len()/index.html +++ b/docs/series-methods/ser.str.len()/index.html @@ -5,7 +5,7 @@ ser.str.len() | bpd - + diff --git a/docs/series-methods/ser.str.lower()/index.html b/docs/series-methods/ser.str.lower()/index.html index 227f2a95..19d9e6b4 100644 --- a/docs/series-methods/ser.str.lower()/index.html +++ b/docs/series-methods/ser.str.lower()/index.html @@ -5,7 +5,7 @@ ser.str.lower() | bpd - + diff --git a/docs/series-methods/ser.str.replace()/index.html b/docs/series-methods/ser.str.replace()/index.html index c4a7be11..a4bf973b 100644 --- a/docs/series-methods/ser.str.replace()/index.html +++ b/docs/series-methods/ser.str.replace()/index.html @@ -5,7 +5,7 @@ ser.str.replace() | bpd - + diff --git a/docs/series-methods/ser.str.split()/index.html b/docs/series-methods/ser.str.split()/index.html index 7ea28787..81f146bd 100644 --- a/docs/series-methods/ser.str.split()/index.html +++ b/docs/series-methods/ser.str.split()/index.html @@ -5,7 +5,7 @@ ser.str.split() | bpd - + diff --git a/docs/series-methods/ser.str.upper()/index.html b/docs/series-methods/ser.str.upper()/index.html index 8ca16f3a..0c45aaa1 100644 --- a/docs/series-methods/ser.str.upper()/index.html +++ b/docs/series-methods/ser.str.upper()/index.html @@ -5,7 +5,7 @@ ser.str.upper() | bpd - + diff --git a/docs/series-methods/ser.sum()/index.html b/docs/series-methods/ser.sum()/index.html index 685a7a61..2ab23d26 100644 --- a/docs/series-methods/ser.sum()/index.html +++ b/docs/series-methods/ser.sum()/index.html @@ -5,7 +5,7 @@ ser.sum() | bpd - + diff --git a/docs/series-methods/ser.unique()/index.html b/docs/series-methods/ser.unique()/index.html index 2dbd5355..9d2f51fe 100644 --- a/docs/series-methods/ser.unique()/index.html +++ b/docs/series-methods/ser.unique()/index.html @@ -5,7 +5,7 @@ ser.unique() | bpd - + diff --git a/index.html b/index.html index 9aa00863..a19884b6 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ bpd reference sheet | bpd - + diff --git a/markdown-page/index.html b/markdown-page/index.html index 5be75c76..f6d672c9 100644 --- a/markdown-page/index.html +++ b/markdown-page/index.html @@ -5,7 +5,7 @@ Markdown page example | bpd - +