From 76c890edbbc61931bbcf0ba7e2df6a6a57a0a7f4 Mon Sep 17 00:00:00 2001 From: Kate Feng <164668941+katefengx@users.noreply.github.com> Date: Sat, 27 Apr 2024 21:56:03 -0700 Subject: [PATCH] Deploy website - based on e6e48bb1244486996ffedfb03d2cbc5a762f975d --- 404.html | 2 +- assets/js/{1a947478.3be0df29.js => 1a947478.d1df6aa1.js} | 2 +- assets/js/37da87f0.2eb2a66a.js | 1 - assets/js/37da87f0.a4ed5c62.js | 1 + assets/js/{72dc5786.8e6bc15e.js => 72dc5786.773d29b0.js} | 2 +- assets/js/c2718811.8ab056e9.js | 1 - assets/js/c2718811.cd0693d3.js | 1 + assets/js/c5bc8ce2.3d4cee11.js | 1 + assets/js/c5bc8ce2.61d97a37.js | 1 - assets/js/{d64c4703.918b3875.js => d64c4703.e42b23ff.js} | 2 +- .../{runtime~main.7f08621d.js => runtime~main.f3a99ad0.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 +- docs/building-organizing/bpd.DataFrame()/index.html | 2 +- docs/building-organizing/bpd.read_csv()/index.html | 2 +- docs/building-organizing/df.assign()/index.html | 2 +- docs/building-organizing/df.drop()/index.html | 2 +- docs/building-organizing/df.merge()/index.html | 2 +- docs/building-organizing/df.reset_index()/index.html | 2 +- docs/building-organizing/df.set_index()/index.html | 2 +- docs/building-organizing/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 | 2 +- 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 | 6 +++--- docs/grouping/aggregation/mean()/index.html | 6 +++--- docs/grouping/aggregation/median()/index.html | 6 +++--- docs/grouping/aggregation/min()/index.html | 6 +++--- docs/grouping/aggregation/sum()/index.html | 6 +++--- docs/grouping/groupby/index.html | 4 ++-- docs/if-statements/Logical Operators/index.html | 2 +- docs/if-statements/if-elif-else/index.html | 2 +- "docs/if-statements/in \342\201\204 not in/index.html" | 2 +- 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 +- docs/series-methods/ser.str.capitalize()/index.html | 2 +- docs/series-methods/ser.str.contains()/index.html | 2 +- docs/series-methods/ser.str.len()/index.html | 2 +- docs/series-methods/ser.str.lower()/index.html | 2 +- docs/series-methods/ser.str.replace()/index.html | 2 +- docs/series-methods/ser.str.split()/index.html | 2 +- docs/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 +- 69 files changed, 77 insertions(+), 77 deletions(-) rename assets/js/{1a947478.3be0df29.js => 1a947478.d1df6aa1.js} (67%) delete mode 100644 assets/js/37da87f0.2eb2a66a.js create mode 100644 assets/js/37da87f0.a4ed5c62.js rename assets/js/{72dc5786.8e6bc15e.js => 72dc5786.773d29b0.js} (53%) delete mode 100644 assets/js/c2718811.8ab056e9.js create mode 100644 assets/js/c2718811.cd0693d3.js create mode 100644 assets/js/c5bc8ce2.3d4cee11.js delete mode 100644 assets/js/c5bc8ce2.61d97a37.js rename assets/js/{d64c4703.918b3875.js => d64c4703.e42b23ff.js} (53%) rename assets/js/{runtime~main.7f08621d.js => runtime~main.f3a99ad0.js} (94%) diff --git a/404.html b/404.html index cad1afc8..5483809d 100644 --- a/404.html +++ b/404.html @@ -5,7 +5,7 @@ Page Not Found | bpd - + diff --git a/assets/js/1a947478.3be0df29.js b/assets/js/1a947478.d1df6aa1.js similarity index 67% rename from assets/js/1a947478.3be0df29.js rename to assets/js/1a947478.d1df6aa1.js index aa67ba21..fbbf003c 100644 --- a/assets/js/1a947478.3be0df29.js +++ b/assets/js/1a947478.d1df6aa1.js @@ -1 +1 @@ -"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[6466],{5364:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>i,contentTitle:()=>c,default:()=>g,frontMatter:()=>a,metadata:()=>d,toc:()=>l});var s=r(4848),t=r(8453),o=r(8597);const a={sidebar_position:7},c=void 0,d={id:"grouping/groupby",title:"groupby",description:"df.groupby(columnname)ordf.groupby([columnnames])",source:"@site/docs/grouping/groupby.md",sourceDirName:"grouping",slug:"/grouping/groupby",permalink:"/bpd-reference/docs/grouping/groupby",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping/groupby.md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"Applying Functions",permalink:"/bpd-reference/docs/Functions/Applying Functions"},next:{title:"count()",permalink:"/bpd-reference/docs/grouping/aggregation/count()"}},i={},l=[];function h(e){const n={a:"a",code:"code",hr:"hr",p:"p",pre:"pre",...(0,t.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("code",{children:"df.groupby(column_name)"}),"\n",(0,s.jsx)("strong",{children:"or"}),"\n",(0,s.jsx)("code",{children:"df.groupby([column_names])"}),"\n",(0,s.jsxs)("div",{className:"base",children:[(0,s.jsxs)("p",{children:[(0,s.jsxs)("strong",{children:["Groups all DataFrame rows with the same value in ",(0,s.jsx)("em",{children:"column_name"})," or list of ",(0,s.jsx)("em",{children:"column_names"})]}),"."]}),(0,s.jsx)("p",{children:"A groupby operation groups large amounts of data based on the column name(s)"}),(0,s.jsxs)("dl",{children:[(0,s.jsx)("dt",{className:"term",children:"Input:"}),(0,s.jsxs)("dd",{className:"parameter",children:["column_name : ",(0,s.jsx)("em",{children:"string"})]}),(0,s.jsx)("dd",{className:"parameter-description",children:"Groups by the column specified. The column becomes the index."}),(0,s.jsxs)("dd",{className:"parameter",children:["column_names : ",(0,s.jsx)("em",{children:"list"})," (of strings)"]}),(0,s.jsx)("dd",{className:"parameter-description",children:"Groups by all listed columns, starting with the first one in the list. The columns become the indices."}),(0,s.jsx)("dt",{className:"term",children:"Returns:"}),(0,s.jsx)("dd",{children:"A new DataFrame with the parameter column(s) as the index and all other columns grouped."}),(0,s.jsx)("dt",{className:"term",children:"Return Type:"}),(0,s.jsx)("dd",{children:"DataFrame"}),(0,s.jsx)("dt",{className:"term",children:"Note:"}),(0,s.jsxs)("dd",{children:["Grouping without an ",(0,s.jsx)("strong",{children:"aggregate method"})," will return ",(0,s.jsx)("strong",{children:"DataFrameGroupBy (not a DataFrame)"})]}),(0,s.jsxs)(n.p,{children:[(0,s.jsx)("p",{children:(0,s.jsx)("strong",{children:"Aggregate Methods"})}),"\n",(0,s.jsx)(n.a,{href:"/docs/grouping/aggregation/mean()",children:(0,s.jsx)("code",{children:".mean()"})})," \xa0 ",(0,s.jsx)(n.a,{href:"/docs/grouping/aggregation/median()",children:(0,s.jsx)("code",{children:".median()"})})," \xa0 ",(0,s.jsx)(n.a,{href:"/docs/grouping/aggregation/count()",children:(0,s.jsx)("code",{children:".count()"})})," \xa0 ",(0,s.jsx)(n.a,{href:"/docs/grouping/aggregation/max()",children:(0,s.jsx)("code",{children:".max()"})})," \xa0 ",(0,s.jsx)(n.a,{href:"/docs/grouping/aggregation/min()",children:(0,s.jsx)("code",{children:".min()"})})," \xa0 ",(0,s.jsx)(n.a,{href:"/docs/grouping/aggregation/sum()",children:(0,s.jsx)("code",{children:".sum()"})})]})]})]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-python",children:"pets\n"})}),"\n",(0,s.jsx)(o.A,{data:'{"columns":["Species","Color","Weight","Age"],"index":[0,1,2,3,4,5,6],"data":[["dog","black",40.0,5.0],["cat","golden",15.0,8.0],["cat","black",20.0,9.0],["dog","white",80.0,2.0],["dog","black",25.0,0.5],["hamster","black",1.0,3.0],["hamster","golden",0.25,0.2]]}'}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-python",children:"pets.groupby('Species').count()\n"})}),"\n",(0,s.jsx)(o.A,{data:'{"columns":["ID","Color","Weight","Age"],"index":["cat","dog","hamster"],"data":[[2,2,2,2],[3,3,3,3],[2,2,2,2]]}'}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-python",children:"pets.groupby(['Species', 'Color']).count().reset_index()\n"})}),"\n",(0,s.jsx)(o.A,{data:'{"columns":["ID","Color","Weight","Age"],"index":["cat","dog","hamster"],"data":[[2,2,2,2],[3,3,3,3],[2,2,2,2]]}'})]})}function g(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},8597:(e,n,r)=>{r.d(n,{A:()=>t});r(6540);var s=r(4848);const t=e=>{let{data:n}=e,r=[],t=[],o="",a=[];if(n){const e=JSON.parse(n);r=e.columns||[],t=e.data||[],o=e.indexName||"Index",a=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:o})," ",r.map(((e,n)=>(0,s.jsx)("th",{children:e},n)))]})}),(0,s.jsx)("tbody",{children:t.map(((e,n)=>(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{className:"index-value",children:a[n]})," ",e.map(((e,n)=>(0,s.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},n)))]},n)))})]})})}},8453:(e,n,r)=>{r.d(n,{R:()=>a,x:()=>c});var s=r(6540);const t={},o=s.createContext(t);function a(e){const n=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:a(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[6466],{5364:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>i,contentTitle:()=>c,default:()=>h,frontMatter:()=>o,metadata:()=>d,toc:()=>l});var s=r(4848),t=r(8453),a=r(8597);const o={sidebar_position:7},c=void 0,d={id:"grouping/groupby",title:"groupby",description:"df.groupby(columnname)ordf.groupby([columnnames])",source:"@site/docs/grouping/groupby.md",sourceDirName:"grouping",slug:"/grouping/groupby",permalink:"/bpd-reference/docs/grouping/groupby",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping/groupby.md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"Applying Functions",permalink:"/bpd-reference/docs/Functions/Applying Functions"},next:{title:"count()",permalink:"/bpd-reference/docs/grouping/aggregation/count()"}},i={},l=[];function g(e){const n={a:"a",code:"code",hr:"hr",p:"p",pre:"pre",...(0,t.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("code",{children:"df.groupby(column_name)"}),"\n",(0,s.jsx)("strong",{children:"or"}),"\n",(0,s.jsx)("code",{children:"df.groupby([column_names])"}),"\n",(0,s.jsxs)("div",{className:"base",children:[(0,s.jsxs)("p",{children:[(0,s.jsxs)("strong",{children:["Groups all DataFrame rows with the same value in ",(0,s.jsx)("em",{children:"column_name"})," or list of ",(0,s.jsx)("em",{children:"column_names"})]}),"."]}),(0,s.jsx)("p",{children:"A groupby operation groups large amounts of data based on the column name(s)"}),(0,s.jsxs)("dl",{children:[(0,s.jsx)("dt",{className:"term",children:"Input:"}),(0,s.jsxs)("dd",{className:"parameter",children:["column_name : ",(0,s.jsx)("em",{children:"string"})]}),(0,s.jsx)("dd",{className:"parameter-description",children:"Groups by the column specified. The column becomes the index."}),(0,s.jsxs)("dd",{className:"parameter",children:["column_names : ",(0,s.jsx)("em",{children:"list"})," (of strings)"]}),(0,s.jsx)("dd",{className:"parameter-description",children:"Groups by all listed columns, starting with the first one in the list. The columns become the indices."}),(0,s.jsx)("dt",{className:"term",children:"Returns:"}),(0,s.jsx)("dd",{children:"A new DataFrame with the parameter column(s) as the index and all other columns grouped."}),(0,s.jsx)("dt",{className:"term",children:"Return Type:"}),(0,s.jsx)("dd",{children:"DataFrame"}),(0,s.jsx)("dt",{className:"term",children:"Note:"}),(0,s.jsxs)("dd",{children:["Grouping without an ",(0,s.jsx)("strong",{children:"aggregate method"})," will return ",(0,s.jsx)("strong",{children:"DataFrameGroupBy (not a DataFrame)"})]}),(0,s.jsxs)(n.p,{children:[(0,s.jsx)("p",{children:(0,s.jsx)("strong",{children:"Aggregate Methods"})}),"\n",(0,s.jsx)(n.a,{href:"/docs/grouping/aggregation/mean()",children:(0,s.jsx)("code",{children:".mean()"})})," \xa0 ",(0,s.jsx)(n.a,{href:"/docs/grouping/aggregation/median()",children:(0,s.jsx)("code",{children:".median()"})})," \xa0 ",(0,s.jsx)(n.a,{href:"/docs/grouping/aggregation/count()",children:(0,s.jsx)("code",{children:".count()"})})," \xa0 ",(0,s.jsx)(n.a,{href:"/docs/grouping/aggregation/max()",children:(0,s.jsx)("code",{children:".max()"})})," \xa0 ",(0,s.jsx)(n.a,{href:"/docs/grouping/aggregation/min()",children:(0,s.jsx)("code",{children:".min()"})})," \xa0 ",(0,s.jsx)(n.a,{href:"/docs/grouping/aggregation/sum()",children:(0,s.jsx)("code",{children:".sum()"})})]})]})]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-python",children:"pets\n"})}),"\n",(0,s.jsx)(a.A,{data:'{"columns":["Species","Color","Weight","Age"],"index":[0,1,2,3,4,5,6],"data":[["dog","black",40.0,5.0],["cat","golden",15.0,8.0],["cat","black",20.0,9.0],["dog","white",80.0,2.0],["dog","black",25.0,0.5],["hamster","black",1.0,3.0],["hamster","golden",0.25,0.2]]}'}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-python",children:"pets.groupby('Species').count()\n"})}),"\n",(0,s.jsx)(a.A,{data:'{"columns":["ID","Color","Weight","Age"],"index":["cat","dog","hamster"],"data":[[2,2,2,2],[3,3,3,3],[2,2,2,2]]}'}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-python",children:"pets.groupby(['Species', 'Color']).count().reset_index()\n"})}),"\n",(0,s.jsx)(a.A,{data:'{"columns":["Species","Color","ID","Weight","Age","Is_Cat","Owner_Comment"],"index":[0,1,2,3,4,5],"data":[["cat","black",2,2,2,2,2],["cat","golden",1,1,1,1,1],["dog","black",2,2,2,2,2],["dog","white",1,1,1,1,1],["hamster","black",1,1,1,1,1],["hamster","golden",1,1,1,1,1]]}'})]})}function h(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(g,{...e})}):g(e)}},8597:(e,n,r)=>{r.d(n,{A:()=>t});r(6540);var s=r(4848);const t=e=>{let{data:n}=e,r=[],t=[],a="",o=[];if(n){const e=JSON.parse(n);r=e.columns||[],t=e.data||[],a=e.indexName||"Index",o=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:a})," ",r.map(((e,n)=>(0,s.jsx)("th",{children:e},n)))]})}),(0,s.jsx)("tbody",{children:t.map(((e,n)=>(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{className:"index-value",children:o[n]})," ",e.map(((e,n)=>(0,s.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},n)))]},n)))})]})})}},8453:(e,n,r)=>{r.d(n,{R:()=>o,x:()=>c});var s=r(6540);const t={},a=s.createContext(t);function o(e){const n=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:o(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/37da87f0.2eb2a66a.js b/assets/js/37da87f0.2eb2a66a.js deleted file mode 100644 index 00842d98..00000000 --- a/assets/js/37da87f0.2eb2a66a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[5961],{1033:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>p,frontMatter:()=>s,metadata:()=>i,toc:()=>l});var r=t(4848),a=t(8453),o=t(8597);const s={sidebar_position:7},c=void 0,i={id:"grouping/aggregation/mean()",title:"mean()",description:"df.groupby(column_name).mean()",source:"@site/docs/grouping/aggregation/mean().md",sourceDirName:"grouping/aggregation",slug:"/grouping/aggregation/mean()",permalink:"/bpd-reference/docs/grouping/aggregation/mean()",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping/aggregation/mean().md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"max()",permalink:"/bpd-reference/docs/grouping/aggregation/max()"},next:{title:"median()",permalink:"/bpd-reference/docs/grouping/aggregation/median()"}},d={},l=[];function g(e){const n={code:"code",hr:"hr",pre:"pre",...(0,a.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("code",{children:"df.groupby(column_name).mean()"}),"\n",(0,r.jsxs)("div",{className:"base",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:"Returns a DataFrame, with rows as groups, and each column as the mean of the column values within each group."})}),(0,r.jsxs)("dl",{children:[(0,r.jsx)("dt",{className:"term",children:"Note:"}),(0,r.jsxs)("dd",{children:["Only for columns of type ",(0,r.jsx)("code",{children:"int"})," or ",(0,r.jsx)("code",{children:"float"}),", all other columns are automatically dropped."]})]})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:"pets\n"})}),"\n",(0,r.jsx)(o.A,{data:'{"columns":["Species","Color","Weight","Age"],"index":[0,1,2,3,4,5,6],"data":[["dog","black",40.0,5.0],["cat","golden",15.0,8.0],["cat","black",20.0,9.0],["dog","white",80.0,2.0],["dog","black",25.0,0.5],["hamster","black",1.0,3.0],["hamster","golden",0.25,0.2]]}'}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:"pets.groupby('Species').count()\n"})}),"\n",(0,r.jsx)(o.A,{data:'{"columns":["ID","Color","Weight","Age"],"index":["cat","dog","hamster"],"data":[[2,2,2,2],[3,3,3,3],[2,2,2,2]]}'})]})}function p(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(g,{...e})}):g(e)}},8597:(e,n,t)=>{t.d(n,{A:()=>a});t(6540);var r=t(4848);const a=e=>{let{data:n}=e,t=[],a=[],o="",s=[];if(n){const e=JSON.parse(n);t=e.columns||[],a=e.data||[],o=e.indexName||"Index",s=e.index||[]}return(0,r.jsx)("div",{className:"dataframe-container",children:(0,r.jsxs)("table",{className:"dataframe-table",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:o})," ",t.map(((e,n)=>(0,r.jsx)("th",{children:e},n)))]})}),(0,r.jsx)("tbody",{children:a.map(((e,n)=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{className:"index-value",children:s[n]})," ",e.map(((e,n)=>(0,r.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},n)))]},n)))})]})})}},8453:(e,n,t)=>{t.d(n,{R:()=>s,x:()=>c});var r=t(6540);const a={},o=r.createContext(a);function s(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/37da87f0.a4ed5c62.js b/assets/js/37da87f0.a4ed5c62.js new file mode 100644 index 00000000..02320bb5 --- /dev/null +++ b/assets/js/37da87f0.a4ed5c62.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[5961],{1033:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>m,frontMatter:()=>s,metadata:()=>i,toc:()=>l});var a=t(4848),r=t(8453),o=t(8597);const s={sidebar_position:7},c=void 0,i={id:"grouping/aggregation/mean()",title:"mean()",description:"df.groupby(column_name).mean()",source:"@site/docs/grouping/aggregation/mean().md",sourceDirName:"grouping/aggregation",slug:"/grouping/aggregation/mean()",permalink:"/bpd-reference/docs/grouping/aggregation/mean()",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping/aggregation/mean().md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"max()",permalink:"/bpd-reference/docs/grouping/aggregation/max()"},next:{title:"median()",permalink:"/bpd-reference/docs/grouping/aggregation/median()"}},d={},l=[];function g(e){const n={code:"code",hr:"hr",pre:"pre",...(0,r.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("code",{children:"df.groupby(column_name).mean()"}),"\n",(0,a.jsxs)("div",{className:"base",children:[(0,a.jsx)("p",{children:(0,a.jsx)("strong",{children:"Returns a DataFrame, with rows as groups, and each column as the mean of the column values within each group."})}),(0,a.jsxs)("dl",{children:[(0,a.jsx)("dt",{className:"term",children:"Note:"}),(0,a.jsxs)("dd",{children:["Only for columns of type ",(0,a.jsx)("code",{children:"int"})," or ",(0,a.jsx)("code",{children:"float"}),", all other columns are automatically dropped."]})]})]}),"\n",(0,a.jsx)(n.hr,{}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-python",children:"pets\n"})}),"\n",(0,a.jsx)(o.A,{data:'{"columns":["Species","Color","Weight","Age"],"index":[0,1,2,3,4,5,6],"data":[["dog","black",40.0,5.0],["cat","golden",15.0,8.0],["cat","black",20.0,9.0],["dog","white",80.0,2.0],["dog","black",25.0,0.5],["hamster","black",1.0,3.0],["hamster","golden",0.25,0.2]]}'}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-python",children:"pets.groupby('Species').mean()\n"})}),"\n",(0,a.jsx)(o.A,{data:'{"columns":["Weight","Age","Is_Cat"],"index":["cat","dog","hamster"],"data":[[8.8333333333,3.0666666667,1.0],[48.3333333333,2.5,0.0],[0.625,1.6,0.0]]}'})]})}function m(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(g,{...e})}):g(e)}},8597:(e,n,t)=>{t.d(n,{A:()=>r});t(6540);var a=t(4848);const r=e=>{let{data:n}=e,t=[],r=[],o="",s=[];if(n){const e=JSON.parse(n);t=e.columns||[],r=e.data||[],o=e.indexName||"Index",s=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:o})," ",t.map(((e,n)=>(0,a.jsx)("th",{children:e},n)))]})}),(0,a.jsx)("tbody",{children:r.map(((e,n)=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"index-value",children:s[n]})," ",e.map(((e,n)=>(0,a.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},n)))]},n)))})]})})}},8453:(e,n,t)=>{t.d(n,{R:()=>s,x:()=>c});var a=t(6540);const r={},o=a.createContext(r);function s(e){const n=a.useContext(o);return a.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),a.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/72dc5786.8e6bc15e.js b/assets/js/72dc5786.773d29b0.js similarity index 53% rename from assets/js/72dc5786.8e6bc15e.js rename to assets/js/72dc5786.773d29b0.js index 051ca498..1e191da3 100644 --- a/assets/js/72dc5786.8e6bc15e.js +++ b/assets/js/72dc5786.773d29b0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[9093],{6034:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>i,default:()=>p,frontMatter:()=>s,metadata:()=>c,toc:()=>l});var r=t(4848),a=t(8453),o=t(8597);const s={sidebar_position:7},i=void 0,c={id:"grouping/aggregation/median()",title:"median()",description:"df.groupby(column_name).median()",source:"@site/docs/grouping/aggregation/median().md",sourceDirName:"grouping/aggregation",slug:"/grouping/aggregation/median()",permalink:"/bpd-reference/docs/grouping/aggregation/median()",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping/aggregation/median().md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"mean()",permalink:"/bpd-reference/docs/grouping/aggregation/mean()"},next:{title:"min()",permalink:"/bpd-reference/docs/grouping/aggregation/min()"}},d={},l=[];function g(e){const n={code:"code",hr:"hr",pre:"pre",...(0,a.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("code",{children:"df.groupby(column_name).median()"}),"\n",(0,r.jsxs)("div",{className:"base",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:"Returns a DataFrame, with rows as groups, and each column as the median of the column values within each group."})}),(0,r.jsxs)("dl",{children:[(0,r.jsx)("dt",{className:"term",children:"Note:"}),(0,r.jsxs)("dd",{children:["Only for columns of type ",(0,r.jsx)("code",{children:"int"})," or ",(0,r.jsx)("code",{children:"float"}),", all other columns are automatically dropped."]})]})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:"pets\n"})}),"\n",(0,r.jsx)(o.A,{data:'{"columns":["Species","Color","Weight","Age"],"index":[0,1,2,3,4,5,6],"data":[["dog","black",40.0,5.0],["cat","golden",15.0,8.0],["cat","black",20.0,9.0],["dog","white",80.0,2.0],["dog","black",25.0,0.5],["hamster","black",1.0,3.0],["hamster","golden",0.25,0.2]]}'}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:"pets.groupby('Species').count()\n"})}),"\n",(0,r.jsx)(o.A,{data:'{"columns":["ID","Color","Weight","Age"],"index":["cat","dog","hamster"],"data":[[2,2,2,2],[3,3,3,3],[2,2,2,2]]}'})]})}function p(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(g,{...e})}):g(e)}},8597:(e,n,t)=>{t.d(n,{A:()=>a});t(6540);var r=t(4848);const a=e=>{let{data:n}=e,t=[],a=[],o="",s=[];if(n){const e=JSON.parse(n);t=e.columns||[],a=e.data||[],o=e.indexName||"Index",s=e.index||[]}return(0,r.jsx)("div",{className:"dataframe-container",children:(0,r.jsxs)("table",{className:"dataframe-table",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:o})," ",t.map(((e,n)=>(0,r.jsx)("th",{children:e},n)))]})}),(0,r.jsx)("tbody",{children:a.map(((e,n)=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{className:"index-value",children:s[n]})," ",e.map(((e,n)=>(0,r.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},n)))]},n)))})]})})}},8453:(e,n,t)=>{t.d(n,{R:()=>s,x:()=>i});var r=t(6540);const a={},o=r.createContext(a);function s(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[9093],{6034:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>i,default:()=>m,frontMatter:()=>s,metadata:()=>d,toc:()=>l});var r=t(4848),a=t(8453),o=t(8597);const s={sidebar_position:7},i=void 0,d={id:"grouping/aggregation/median()",title:"median()",description:"df.groupby(column_name).median()",source:"@site/docs/grouping/aggregation/median().md",sourceDirName:"grouping/aggregation",slug:"/grouping/aggregation/median()",permalink:"/bpd-reference/docs/grouping/aggregation/median()",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping/aggregation/median().md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"mean()",permalink:"/bpd-reference/docs/grouping/aggregation/mean()"},next:{title:"min()",permalink:"/bpd-reference/docs/grouping/aggregation/min()"}},c={},l=[];function g(e){const n={code:"code",hr:"hr",pre:"pre",...(0,a.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("code",{children:"df.groupby(column_name).median()"}),"\n",(0,r.jsxs)("div",{className:"base",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:"Returns a DataFrame, with rows as groups, and each column as the median of the column values within each group."})}),(0,r.jsxs)("dl",{children:[(0,r.jsx)("dt",{className:"term",children:"Note:"}),(0,r.jsxs)("dd",{children:["Only for columns of type ",(0,r.jsx)("code",{children:"int"})," or ",(0,r.jsx)("code",{children:"float"}),", all other columns are automatically dropped."]})]})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:"pets\n"})}),"\n",(0,r.jsx)(o.A,{data:'{"columns":["Species","Color","Weight","Age"],"index":[0,1,2,3,4,5,6],"data":[["dog","black",40.0,5.0],["cat","golden",15.0,8.0],["cat","black",20.0,9.0],["dog","white",80.0,2.0],["dog","black",25.0,0.5],["hamster","black",1.0,3.0],["hamster","golden",0.25,0.2]]}'}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:"pets.groupby('Species').median()\n"})}),"\n",(0,r.jsx)(o.A,{data:'{"columns":["Weight","Age","Is_Cat"],"index":["cat","dog","hamster"],"data":[[10.0,0.2,1.0],[40.0,2.0,0.0],[0.625,1.6,0.0]]}'})]})}function m(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(g,{...e})}):g(e)}},8597:(e,n,t)=>{t.d(n,{A:()=>a});t(6540);var r=t(4848);const a=e=>{let{data:n}=e,t=[],a=[],o="",s=[];if(n){const e=JSON.parse(n);t=e.columns||[],a=e.data||[],o=e.indexName||"Index",s=e.index||[]}return(0,r.jsx)("div",{className:"dataframe-container",children:(0,r.jsxs)("table",{className:"dataframe-table",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:o})," ",t.map(((e,n)=>(0,r.jsx)("th",{children:e},n)))]})}),(0,r.jsx)("tbody",{children:a.map(((e,n)=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{className:"index-value",children:s[n]})," ",e.map(((e,n)=>(0,r.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},n)))]},n)))})]})})}},8453:(e,n,t)=>{t.d(n,{R:()=>s,x:()=>i});var r=t(6540);const a={},o=r.createContext(a);function s(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c2718811.8ab056e9.js b/assets/js/c2718811.8ab056e9.js deleted file mode 100644 index 4e58cb20..00000000 --- a/assets/js/c2718811.8ab056e9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[7206],{6464:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>o,default:()=>m,frontMatter:()=>i,metadata:()=>c,toc:()=>l});var r=t(4848),a=t(8453),s=t(8597);const i={sidebar_position:7},o=void 0,c={id:"grouping/aggregation/min()",title:"min()",description:"df.groupby(column_name).min()",source:"@site/docs/grouping/aggregation/min().md",sourceDirName:"grouping/aggregation",slug:"/grouping/aggregation/min()",permalink:"/bpd-reference/docs/grouping/aggregation/min()",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping/aggregation/min().md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"median()",permalink:"/bpd-reference/docs/grouping/aggregation/median()"},next:{title:"sum()",permalink:"/bpd-reference/docs/grouping/aggregation/sum()"}},d={},l=[];function g(e){const n={code:"code",hr:"hr",pre:"pre",...(0,a.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("code",{children:"df.groupby(column_name).min()"}),"\n",(0,r.jsxs)("div",{className:"base",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:"Returns a DataFrame, with rows as groups, and each column as the min of the column values within each group."})}),(0,r.jsxs)("dl",{children:[(0,r.jsx)("dt",{className:"term",children:"Note:"}),(0,r.jsxs)("dd",{children:["Columns with String values display the minimum alphabetical starting character (ex. ",(0,r.jsx)("code",{children:'"black"'})," is alphabetically before ",(0,r.jsx)("code",{children:'"golden"'})," and ",(0,r.jsx)("code",{children:'"white"'}),")."]})]})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:"pets\n"})}),"\n",(0,r.jsx)(s.A,{data:'{"columns":["Species","Color","Weight","Age"],"index":[0,1,2,3,4,5,6],"data":[["dog","black",40.0,5.0],["cat","golden",15.0,8.0],["cat","black",20.0,9.0],["dog","white",80.0,2.0],["dog","black",25.0,0.5],["hamster","black",1.0,3.0],["hamster","golden",0.25,0.2]]}'}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:"pets.groupby('Species').count()\n"})}),"\n",(0,r.jsx)(s.A,{data:'{"columns":["ID","Color","Weight","Age"],"index":["cat","dog","hamster"],"data":[[2,2,2,2],[3,3,3,3],[2,2,2,2]]}'})]})}function m(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(g,{...e})}):g(e)}},8597:(e,n,t)=>{t.d(n,{A:()=>a});t(6540);var r=t(4848);const a=e=>{let{data:n}=e,t=[],a=[],s="",i=[];if(n){const e=JSON.parse(n);t=e.columns||[],a=e.data||[],s=e.indexName||"Index",i=e.index||[]}return(0,r.jsx)("div",{className:"dataframe-container",children:(0,r.jsxs)("table",{className:"dataframe-table",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:s})," ",t.map(((e,n)=>(0,r.jsx)("th",{children:e},n)))]})}),(0,r.jsx)("tbody",{children:a.map(((e,n)=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{className:"index-value",children:i[n]})," ",e.map(((e,n)=>(0,r.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},n)))]},n)))})]})})}},8453:(e,n,t)=>{t.d(n,{R:()=>i,x:()=>o});var r=t(6540);const a={},s=r.createContext(a);function i(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c2718811.cd0693d3.js b/assets/js/c2718811.cd0693d3.js new file mode 100644 index 00000000..6d8e24c3 --- /dev/null +++ b/assets/js/c2718811.cd0693d3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[7206],{6464:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>i,default:()=>m,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var a=t(4848),r=t(8453),s=t(8597);const o={sidebar_position:7},i=void 0,c={id:"grouping/aggregation/min()",title:"min()",description:"df.groupby(column_name).min()",source:"@site/docs/grouping/aggregation/min().md",sourceDirName:"grouping/aggregation",slug:"/grouping/aggregation/min()",permalink:"/bpd-reference/docs/grouping/aggregation/min()",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping/aggregation/min().md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"median()",permalink:"/bpd-reference/docs/grouping/aggregation/median()"},next:{title:"sum()",permalink:"/bpd-reference/docs/grouping/aggregation/sum()"}},d={},l=[];function g(e){const n={code:"code",hr:"hr",pre:"pre",...(0,r.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("code",{children:"df.groupby(column_name).min()"}),"\n",(0,a.jsxs)("div",{className:"base",children:[(0,a.jsx)("p",{children:(0,a.jsx)("strong",{children:"Returns a DataFrame, with rows as groups, and each column as the min of the column values within each group."})}),(0,a.jsxs)("dl",{children:[(0,a.jsx)("dt",{className:"term",children:"Note:"}),(0,a.jsxs)("dd",{children:["Columns with String values display the minimum alphabetical starting character (ex. ",(0,a.jsx)("code",{children:'"black"'})," is alphabetically before ",(0,a.jsx)("code",{children:'"golden"'})," and ",(0,a.jsx)("code",{children:'"white"'}),")."]})]})]}),"\n",(0,a.jsx)(n.hr,{}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-python",children:"pets\n"})}),"\n",(0,a.jsx)(s.A,{data:'{"columns":["Species","Color","Weight","Age"],"index":[0,1,2,3,4,5,6],"data":[["dog","black",40.0,5.0],["cat","golden",15.0,8.0],["cat","black",20.0,9.0],["dog","white",80.0,2.0],["dog","black",25.0,0.5],["hamster","black",1.0,3.0],["hamster","golden",0.25,0.2]]}'}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-python",children:"pets.groupby('Species').min()\n"})}),"\n",(0,a.jsx)(s.A,{data:'{"columns":["ID","Color","Weight","Age","Is_Cat","Owner_Comment"],"index":["cat","dog","hamster"],"data":[["cat_001","black",1.5,0.0,true,"****All you need is love and a cat.****"],["dog_001","black",25.0,0.5,false," There are no bad dogs, only bad owners."],["ham_001","black",0.25,0.2,false,"No, thank you!"]]}'})]})}function m(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(g,{...e})}):g(e)}},8597:(e,n,t)=>{t.d(n,{A:()=>r});t(6540);var a=t(4848);const r=e=>{let{data:n}=e,t=[],r=[],s="",o=[];if(n){const e=JSON.parse(n);t=e.columns||[],r=e.data||[],s=e.indexName||"Index",o=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:s})," ",t.map(((e,n)=>(0,a.jsx)("th",{children:e},n)))]})}),(0,a.jsx)("tbody",{children:r.map(((e,n)=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"index-value",children:o[n]})," ",e.map(((e,n)=>(0,a.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},n)))]},n)))})]})})}},8453:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>i});var a=t(6540);const r={},s=a.createContext(r);function o(e){const n=a.useContext(s);return a.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),a.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c5bc8ce2.3d4cee11.js b/assets/js/c5bc8ce2.3d4cee11.js new file mode 100644 index 00000000..c52c039b --- /dev/null +++ b/assets/js/c5bc8ce2.3d4cee11.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[6564],{7666:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>h,frontMatter:()=>s,metadata:()=>i,toc:()=>l});var t=a(4848),r=a(8453),o=a(8597);const s={sidebar_position:7},c=void 0,i={id:"grouping/aggregation/max()",title:"max()",description:"df.groupby(column_name).max()",source:"@site/docs/grouping/aggregation/max().md",sourceDirName:"grouping/aggregation",slug:"/grouping/aggregation/max()",permalink:"/bpd-reference/docs/grouping/aggregation/max()",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping/aggregation/max().md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"count()",permalink:"/bpd-reference/docs/grouping/aggregation/count()"},next:{title:"mean()",permalink:"/bpd-reference/docs/grouping/aggregation/mean()"}},d={},l=[];function g(e){const n={code:"code",hr:"hr",pre:"pre",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("code",{children:"df.groupby(column_name).max()"}),"\n",(0,t.jsxs)("div",{className:"base",children:[(0,t.jsx)("p",{children:(0,t.jsx)("strong",{children:"Returns a DataFrame, with rows as groups, and each column as the max of the column values within each group."})}),(0,t.jsxs)("dl",{children:[(0,t.jsx)("dt",{className:"term",children:"Note:"}),(0,t.jsxs)("dd",{children:["Columns with String values display the maximum alphabetical starting character (ex. ",(0,t.jsx)("code",{children:'"white"'})," is alphabetically after ",(0,t.jsx)("code",{children:'"black"'})," and ",(0,t.jsx)("code",{children:'"golden"'}),")."]})]})]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-python",children:"pets\n"})}),"\n",(0,t.jsx)(o.A,{data:'{"columns":["Species","Color","Weight","Age"],"index":[0,1,2,3,4,5,6],"data":[["dog","black",40.0,5.0],["cat","golden",15.0,8.0],["cat","black",20.0,9.0],["dog","white",80.0,2.0],["dog","black",25.0,0.5],["hamster","black",1.0,3.0],["hamster","golden",0.25,0.2]]}'}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-python",children:"pets.groupby('Species').max()\n"})}),"\n",(0,t.jsx)(o.A,{data:'{"columns":["ID","Color","Weight","Age","Is_Cat","Owner_Comment"],"index":["cat","dog","hamster"],"data":[["cat_003","golden",15.0,9.0,true,"No, thank you!"],["dog_003","white",80.0,5.0,false,"Love is a wet nose and a wagging tail."],["ham_002","golden",1.0,3.0,false,"No, thank you!"]]}'})]})}function h(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(g,{...e})}):g(e)}},8597:(e,n,a)=>{a.d(n,{A:()=>r});a(6540);var t=a(4848);const r=e=>{let{data:n}=e,a=[],r=[],o="",s=[];if(n){const e=JSON.parse(n);a=e.columns||[],r=e.data||[],o=e.indexName||"Index",s=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:o})," ",a.map(((e,n)=>(0,t.jsx)("th",{children:e},n)))]})}),(0,t.jsx)("tbody",{children:r.map(((e,n)=>(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"index-value",children:s[n]})," ",e.map(((e,n)=>(0,t.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},n)))]},n)))})]})})}},8453:(e,n,a)=>{a.d(n,{R:()=>s,x:()=>c});var t=a(6540);const r={},o=t.createContext(r);function s(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c5bc8ce2.61d97a37.js b/assets/js/c5bc8ce2.61d97a37.js deleted file mode 100644 index 31042305..00000000 --- a/assets/js/c5bc8ce2.61d97a37.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[6564],{7666:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>p,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var a=t(4848),r=t(8453),s=t(8597);const o={sidebar_position:7},c=void 0,i={id:"grouping/aggregation/max()",title:"max()",description:"df.groupby(column_name).max()",source:"@site/docs/grouping/aggregation/max().md",sourceDirName:"grouping/aggregation",slug:"/grouping/aggregation/max()",permalink:"/bpd-reference/docs/grouping/aggregation/max()",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping/aggregation/max().md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"count()",permalink:"/bpd-reference/docs/grouping/aggregation/count()"},next:{title:"mean()",permalink:"/bpd-reference/docs/grouping/aggregation/mean()"}},d={},l=[];function g(e){const n={code:"code",hr:"hr",pre:"pre",...(0,r.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("code",{children:"df.groupby(column_name).max()"}),"\n",(0,a.jsxs)("div",{className:"base",children:[(0,a.jsx)("p",{children:(0,a.jsx)("strong",{children:"Returns a DataFrame, with rows as groups, and each column as the max of the column values within each group."})}),(0,a.jsxs)("dl",{children:[(0,a.jsx)("dt",{className:"term",children:"Note:"}),(0,a.jsxs)("dd",{children:["Columns with String values display the maximum alphabetical starting character (ex. ",(0,a.jsx)("code",{children:'"white"'})," is alphabetically after ",(0,a.jsx)("code",{children:'"black"'})," and ",(0,a.jsx)("code",{children:'"golden"'}),")."]})]})]}),"\n",(0,a.jsx)(n.hr,{}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-python",children:"pets\n"})}),"\n",(0,a.jsx)(s.A,{data:'{"columns":["Species","Color","Weight","Age"],"index":[0,1,2,3,4,5,6],"data":[["dog","black",40.0,5.0],["cat","golden",15.0,8.0],["cat","black",20.0,9.0],["dog","white",80.0,2.0],["dog","black",25.0,0.5],["hamster","black",1.0,3.0],["hamster","golden",0.25,0.2]]}'}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-python",children:"pets.groupby('Species').count()\n"})}),"\n",(0,a.jsx)(s.A,{data:'{"columns":["ID","Color","Weight","Age"],"index":["cat","dog","hamster"],"data":[[2,2,2,2],[3,3,3,3],[2,2,2,2]]}'})]})}function p(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(g,{...e})}):g(e)}},8597:(e,n,t)=>{t.d(n,{A:()=>r});t(6540);var a=t(4848);const r=e=>{let{data:n}=e,t=[],r=[],s="",o=[];if(n){const e=JSON.parse(n);t=e.columns||[],r=e.data||[],s=e.indexName||"Index",o=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:s})," ",t.map(((e,n)=>(0,a.jsx)("th",{children:e},n)))]})}),(0,a.jsx)("tbody",{children:r.map(((e,n)=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"index-value",children:o[n]})," ",e.map(((e,n)=>(0,a.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},n)))]},n)))})]})})}},8453:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>c});var a=t(6540);const r={},s=a.createContext(r);function o(e){const n=a.useContext(s);return a.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),a.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d64c4703.918b3875.js b/assets/js/d64c4703.e42b23ff.js similarity index 53% rename from assets/js/d64c4703.918b3875.js rename to assets/js/d64c4703.e42b23ff.js index fbfc32b7..87cf3568 100644 --- a/assets/js/d64c4703.918b3875.js +++ b/assets/js/d64c4703.e42b23ff.js @@ -1 +1 @@ -"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[1290],{4779:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>g,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var r=t(4848),s=t(8453),o=t(8597);const a={sidebar_position:7},c=void 0,i={id:"grouping/aggregation/sum()",title:"sum()",description:"df.groupby(column_name).sum()",source:"@site/docs/grouping/aggregation/sum().md",sourceDirName:"grouping/aggregation",slug:"/grouping/aggregation/sum()",permalink:"/bpd-reference/docs/grouping/aggregation/sum()",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping/aggregation/sum().md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"min()",permalink:"/bpd-reference/docs/grouping/aggregation/min()"}},d={},l=[];function u(e){const n={code:"code",hr:"hr",pre:"pre",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("code",{children:"df.groupby(column_name).sum()"}),"\n",(0,r.jsxs)("div",{className:"base",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:"Returns a DataFrame, with rows as groups, and each column as the sum of the column values within each group."})}),(0,r.jsxs)("dl",{children:[(0,r.jsx)("dt",{className:"term",children:"Note:"}),(0,r.jsxs)("dd",{children:["Only for columns of type ",(0,r.jsx)("code",{children:"int"})," or ",(0,r.jsx)("code",{children:"float"}),", all other columns are automatically dropped."]})]})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:"pets\n"})}),"\n",(0,r.jsx)(o.A,{data:'{"columns":["Species","Color","Weight","Age"],"index":[0,1,2,3,4,5,6],"data":[["dog","black",40.0,5.0],["cat","golden",15.0,8.0],["cat","black",20.0,9.0],["dog","white",80.0,2.0],["dog","black",25.0,0.5],["hamster","black",1.0,3.0],["hamster","golden",0.25,0.2]]}'}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:"pets.groupby('Species').count()\n"})}),"\n",(0,r.jsx)(o.A,{data:'{"columns":["ID","Color","Weight","Age"],"index":["cat","dog","hamster"],"data":[[2,2,2,2],[3,3,3,3],[2,2,2,2]]}'})]})}function g(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},8597:(e,n,t)=>{t.d(n,{A:()=>s});t(6540);var r=t(4848);const s=e=>{let{data:n}=e,t=[],s=[],o="",a=[];if(n){const e=JSON.parse(n);t=e.columns||[],s=e.data||[],o=e.indexName||"Index",a=e.index||[]}return(0,r.jsx)("div",{className:"dataframe-container",children:(0,r.jsxs)("table",{className:"dataframe-table",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:o})," ",t.map(((e,n)=>(0,r.jsx)("th",{children:e},n)))]})}),(0,r.jsx)("tbody",{children:s.map(((e,n)=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{className:"index-value",children:a[n]})," ",e.map(((e,n)=>(0,r.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},n)))]},n)))})]})})}},8453:(e,n,t)=>{t.d(n,{R:()=>a,x:()=>c});var r=t(6540);const s={},o=r.createContext(s);function a(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[1290],{4779:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>g,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var r=t(4848),s=t(8453),a=t(8597);const o={sidebar_position:7},c=void 0,i={id:"grouping/aggregation/sum()",title:"sum()",description:"df.groupby(column_name).sum()",source:"@site/docs/grouping/aggregation/sum().md",sourceDirName:"grouping/aggregation",slug:"/grouping/aggregation/sum()",permalink:"/bpd-reference/docs/grouping/aggregation/sum()",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping/aggregation/sum().md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"min()",permalink:"/bpd-reference/docs/grouping/aggregation/min()"}},d={},l=[];function u(e){const n={code:"code",hr:"hr",pre:"pre",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("code",{children:"df.groupby(column_name).sum()"}),"\n",(0,r.jsxs)("div",{className:"base",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:"Returns a DataFrame, with rows as groups, and each column as the sum of the column values within each group."})}),(0,r.jsxs)("dl",{children:[(0,r.jsx)("dt",{className:"term",children:"Note:"}),(0,r.jsxs)("dd",{children:["Only for columns of type ",(0,r.jsx)("code",{children:"int"})," or ",(0,r.jsx)("code",{children:"float"}),", all other columns are automatically dropped."]})]})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:"pets\n"})}),"\n",(0,r.jsx)(a.A,{data:'{"columns":["Species","Color","Weight","Age"],"index":[0,1,2,3,4,5,6],"data":[["dog","black",40.0,5.0],["cat","golden",15.0,8.0],["cat","black",20.0,9.0],["dog","white",80.0,2.0],["dog","black",25.0,0.5],["hamster","black",1.0,3.0],["hamster","golden",0.25,0.2]]}'}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-python",children:"pets.groupby('Species').sum()\n"})}),"\n",(0,r.jsx)(a.A,{data:'{"columns":["Weight","Age","Is_Cat"],"index":["cat","dog","hamster"],"data":[[26.5,9.2,3],[145.0,7.5,0],[1.25,3.2,0]]}'})]})}function g(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},8597:(e,n,t)=>{t.d(n,{A:()=>s});t(6540);var r=t(4848);const s=e=>{let{data:n}=e,t=[],s=[],a="",o=[];if(n){const e=JSON.parse(n);t=e.columns||[],s=e.data||[],a=e.indexName||"Index",o=e.index||[]}return(0,r.jsx)("div",{className:"dataframe-container",children:(0,r.jsxs)("table",{className:"dataframe-table",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:a})," ",t.map(((e,n)=>(0,r.jsx)("th",{children:e},n)))]})}),(0,r.jsx)("tbody",{children:s.map(((e,n)=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{className:"index-value",children:o[n]})," ",e.map(((e,n)=>(0,r.jsx)("td",{children:"boolean"==typeof e?e.toString().charAt(0).toUpperCase()+e.toString().slice(1):e},n)))]},n)))})]})})}},8453:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>c});var r=t(6540);const s={},a=r.createContext(s);function o(e){const n=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.7f08621d.js b/assets/js/runtime~main.f3a99ad0.js similarity index 94% rename from assets/js/runtime~main.7f08621d.js rename to assets/js/runtime~main.f3a99ad0.js index a8089142..be6369ce 100644 --- a/assets/js/runtime~main.7f08621d.js +++ b/assets/js/runtime~main.f3a99ad0.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,c,f,d,b={},r={};function t(e){var a=r[e];if(void 0!==a)return a.exports;var c=r[e]={id:e,loaded:!1,exports:{}};return b[e].call(c.exports,c,c.exports,t),c.loaded=!0,c.exports}t.m=b,t.c=r,e=[],t.O=(a,c,f,d)=>{if(!c){var b=1/0;for(i=0;i=d)&&Object.keys(t.O).every((e=>t.O[e](c[o])))?c.splice(o--,1):(r=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[c,f,d]},t.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,t.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var d=Object.create(null);t.r(d);var b={};a=a||[null,c({}),c([]),c(c)];for(var r=2&f&&e;"object"==typeof r&&!~a.indexOf(r);r=c(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 c in a)t.o(a,c)&&!t.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce(((a,c)=>(t.f[c](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",1162:"ecffc2db",1290:"d64c4703",1607:"faf9f7da",1644:"c7c46bce",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",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",6466:"1a947478",6564:"c5bc8ce2",6925:"ecad1ce6",6952:"40d21e43",6969:"14eb3368",7006:"74ef759f",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",9749:"9ee63435",9797:"85bbc213",9799:"44007711",9926:"67908667"}[e]||e)+"."+{10:"87521bf4",59:"99ade57e",122:"1f6d6ae9",265:"f663bfff",339:"fd9666dd",586:"3e53ab7e",647:"5f841a7e",683:"21422e2c",709:"3dd9c8bc",1162:"40929b4c",1290:"918b3875",1607:"a670a186",1644:"74ff4ff5",1819:"3b1d4982",1860:"cccf53f2",1903:"978cac9e",1917:"e0771a90",1972:"6864c464",2237:"e9544c0b",2411:"225d0fc5",2461:"989af868",2479:"14e5f169",2634:"3db290d2",2711:"4f5138d5",2865:"78ff1ffc",3242:"72fbb86d",3249:"12efda39",3554:"3647820b",3626:"4f3877d9",3637:"b17e442f",3694:"5454028b",3847:"778ff7a1",3976:"e4eeaaf9",4014:"deebab2b",4134:"6cb884a7",4425:"17c1e4db",4813:"aed177af",5164:"9a18895a",5391:"27038027",5427:"95f66799",5443:"bf2acfd8",5480:"c91de645",5521:"3d83e140",5557:"95fd1299",5589:"9a7123df",5612:"2c9b281f",5633:"a34ed8d2",5961:"2eb2a66a",5983:"50a3e226",6061:"4931dd9a",6157:"d644122b",6264:"ae06de1c",6466:"3be0df29",6564:"61d97a37",6925:"45e66795",6952:"114bbfbf",6969:"9e5192b3",7006:"6d9aa263",7098:"89c24f1c",7099:"b5b95461",7119:"6f9d789f",7181:"d4c3728a",7206:"8ab056e9",7364:"bdde3951",7415:"61f08f0e",7450:"aab04782",7472:"2a71da77",7539:"5bee3155",7643:"d5e01cc6",8209:"8b130ac7",8401:"114748a5",8405:"81b437c0",8510:"3ae54dd8",8559:"33a087db",8581:"10ff2d7a",8609:"cba4ee15",8737:"0e3fda52",9048:"f1dfcffe",9093:"8e6bc15e",9325:"777bc4c6",9328:"f95f7890",9647:"95974c14",9749:"944918d4",9797:"59604264",9799:"55257bcd",9926:"21db814b"}[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),f={},d="bpd-reference:",t.l=(e,a,c,b)=>{if(f[e])f[e].push(a);else{var r,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i{r.onerror=r.onload=null,clearTimeout(s);var d=f[e];if(delete f[e],r.parentNode&&r.parentNode.removeChild(r),d&&d.forEach((e=>e(c))),a)return a(c)},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",ecffc2db:"1162",d64c4703:"1290",faf9f7da:"1607",c7c46bce:"1644",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",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","1a947478":"6466",c5bc8ce2:"6564",ecad1ce6:"6925","40d21e43":"6952","14eb3368":"6969","74ef759f":"7006",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","9ee63435":"9749","85bbc213":"9797"}[e]||e,t.p+t.u(e)},(()=>{var e={5354:0,1869:0};t.f.j=(a,c)=>{var f=t.o(e,a)?e[a]:void 0;if(0!==f)if(f)c.push(f[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var d=new Promise(((c,d)=>f=e[a]=[c,d]));c.push(f[2]=d);var b=t.p+t.u(a),r=new Error;t.l(b,(c=>{if(t.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var d=c&&("load"===c.type?"missing":c.type),b=c&&c.target&&c.target.src;r.message="Loading chunk "+a+" failed.\n("+d+": "+b+")",r.name="ChunkLoadError",r.type=d,r.request=b,f[1](r)}}),"chunk-"+a,a)}},t.O.j=a=>0===e[a];var a=(a,c)=>{var f,d,b=c[0],r=c[1],o=c[2],n=0;if(b.some((a=>0!==e[a]))){for(f in r)t.o(r,f)&&(t.m[f]=r[f]);if(o)var i=o(t)}for(a&&a(c);n{"use strict";var e,a,c,f,d,b={},r={};function t(e){var a=r[e];if(void 0!==a)return a.exports;var c=r[e]={id:e,loaded:!1,exports:{}};return b[e].call(c.exports,c,c.exports,t),c.loaded=!0,c.exports}t.m=b,t.c=r,e=[],t.O=(a,c,f,d)=>{if(!c){var b=1/0;for(i=0;i=d)&&Object.keys(t.O).every((e=>t.O[e](c[o])))?c.splice(o--,1):(r=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[c,f,d]},t.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,t.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var d=Object.create(null);t.r(d);var b={};a=a||[null,c({}),c([]),c(c)];for(var r=2&f&&e;"object"==typeof r&&!~a.indexOf(r);r=c(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 c in a)t.o(a,c)&&!t.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce(((a,c)=>(t.f[c](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",1162:"ecffc2db",1290:"d64c4703",1607:"faf9f7da",1644:"c7c46bce",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",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",6466:"1a947478",6564:"c5bc8ce2",6925:"ecad1ce6",6952:"40d21e43",6969:"14eb3368",7006:"74ef759f",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",9749:"9ee63435",9797:"85bbc213",9799:"44007711",9926:"67908667"}[e]||e)+"."+{10:"87521bf4",59:"99ade57e",122:"1f6d6ae9",265:"f663bfff",339:"fd9666dd",586:"3e53ab7e",647:"5f841a7e",683:"21422e2c",709:"3dd9c8bc",1162:"40929b4c",1290:"e42b23ff",1607:"a670a186",1644:"74ff4ff5",1819:"3b1d4982",1860:"cccf53f2",1903:"978cac9e",1917:"e0771a90",1972:"6864c464",2237:"e9544c0b",2411:"225d0fc5",2461:"989af868",2479:"14e5f169",2634:"3db290d2",2711:"4f5138d5",2865:"78ff1ffc",3242:"72fbb86d",3249:"12efda39",3554:"3647820b",3626:"4f3877d9",3637:"b17e442f",3694:"5454028b",3847:"778ff7a1",3976:"e4eeaaf9",4014:"deebab2b",4134:"6cb884a7",4425:"17c1e4db",4813:"aed177af",5164:"9a18895a",5391:"27038027",5427:"95f66799",5443:"bf2acfd8",5480:"c91de645",5521:"3d83e140",5557:"95fd1299",5589:"9a7123df",5612:"2c9b281f",5633:"a34ed8d2",5961:"a4ed5c62",5983:"50a3e226",6061:"4931dd9a",6157:"d644122b",6264:"ae06de1c",6466:"d1df6aa1",6564:"3d4cee11",6925:"45e66795",6952:"114bbfbf",6969:"9e5192b3",7006:"6d9aa263",7098:"89c24f1c",7099:"b5b95461",7119:"6f9d789f",7181:"d4c3728a",7206:"cd0693d3",7364:"bdde3951",7415:"61f08f0e",7450:"aab04782",7472:"2a71da77",7539:"5bee3155",7643:"d5e01cc6",8209:"8b130ac7",8401:"114748a5",8405:"81b437c0",8510:"3ae54dd8",8559:"33a087db",8581:"10ff2d7a",8609:"cba4ee15",8737:"0e3fda52",9048:"f1dfcffe",9093:"773d29b0",9325:"777bc4c6",9328:"f95f7890",9647:"95974c14",9749:"944918d4",9797:"59604264",9799:"55257bcd",9926:"21db814b"}[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),f={},d="bpd-reference:",t.l=(e,a,c,b)=>{if(f[e])f[e].push(a);else{var r,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i{r.onerror=r.onload=null,clearTimeout(s);var d=f[e];if(delete f[e],r.parentNode&&r.parentNode.removeChild(r),d&&d.forEach((e=>e(c))),a)return a(c)},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",ecffc2db:"1162",d64c4703:"1290",faf9f7da:"1607",c7c46bce:"1644",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",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","1a947478":"6466",c5bc8ce2:"6564",ecad1ce6:"6925","40d21e43":"6952","14eb3368":"6969","74ef759f":"7006",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","9ee63435":"9749","85bbc213":"9797"}[e]||e,t.p+t.u(e)},(()=>{var e={5354:0,1869:0};t.f.j=(a,c)=>{var f=t.o(e,a)?e[a]:void 0;if(0!==f)if(f)c.push(f[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var d=new Promise(((c,d)=>f=e[a]=[c,d]));c.push(f[2]=d);var b=t.p+t.u(a),r=new Error;t.l(b,(c=>{if(t.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var d=c&&("load"===c.type?"missing":c.type),b=c&&c.target&&c.target.src;r.message="Loading chunk "+a+" failed.\n("+d+": "+b+")",r.name="ChunkLoadError",r.type=d,r.request=b,f[1](r)}}),"chunk-"+a,a)}},t.O.j=a=>0===e[a];var a=(a,c)=>{var f,d,b=c[0],r=c[1],o=c[2],n=0;if(b.some((a=>0!==e[a]))){for(f in r)t.o(r,f)&&(t.m[f]=r[f]);if(o)var i=o(t)}for(a&&a(c);n Archive | bpd - + diff --git a/blog/first-blog-post/index.html b/blog/first-blog-post/index.html index 05854022..2332c1e6 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 62a6185e..93c2e360 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 506e986c..1eeb5b1e 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 719b68d9..efe3fbbf 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 e2620df8..f6572049 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 0b2f4b3b..6a671cce 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 fae530ac..6f7d964a 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 0e4191f2..64275768 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 8afc32cd..fa4e2dcd 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 3a2f9889..cb6bd8e5 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 f0cbbaa4..cc567ec3 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 ea9986a6..6320e40d 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 fb1a6599..f29868d8 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 1e37bc8d..243a3afa 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 3d286e3a..c62bceec 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 a8cb1511..15ad7cf6 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 6fd6ec71..10b6862c 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 57c61f4b..2215c126 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 88ff435d..dcdb42ea 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 7d4663b1..9accc910 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 92a00c45..76b3fb7c 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 e4a2742a..409f4f8b 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 038862f6..a8730423 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 4df87104..1511034f 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 36741769..2a5ecb9a 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 4ee9baef..2d3a3f08 100644 --- a/docs/category/if-statements/index.html +++ b/docs/category/if-statements/index.html @@ -5,7 +5,7 @@ if-statements | bpd - + diff --git a/docs/category/plotting/index.html b/docs/category/plotting/index.html index 577defbd..2a559329 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 2f2f23bc..cfee6fd7 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 c2b2e4c2..f646dbf4 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 78b6b391..50f5bd30 100644 --- a/docs/grouping/aggregation/max()/index.html +++ b/docs/grouping/aggregation/max()/index.html @@ -5,7 +5,7 @@ max() | bpd - + @@ -14,7 +14,7 @@
pets
Index SpeciesColorWeightAge
0 dogblack405
1 catgolden158
2 catblack209
3 dogwhite802
4 dogblack250.5
5 hamsterblack13
6 hamstergolden0.250.2
-
pets.groupby('Species').count()
-
Index IDColorWeightAge
cat 2222
dog 3333
hamster 2222
+
pets.groupby('Species').max()
+
Index IDColorWeightAgeIs_CatOwner_Comment
cat cat_003golden159TrueNo, thank you!
dog dog_003white805FalseLove is a wet nose and a wagging tail.
hamster ham_002golden13FalseNo, thank you!
\ No newline at end of file diff --git a/docs/grouping/aggregation/mean()/index.html b/docs/grouping/aggregation/mean()/index.html index 1435b73a..386a45c5 100644 --- a/docs/grouping/aggregation/mean()/index.html +++ b/docs/grouping/aggregation/mean()/index.html @@ -5,7 +5,7 @@ mean() | bpd - + @@ -14,7 +14,7 @@
pets
Index SpeciesColorWeightAge
0 dogblack405
1 catgolden158
2 catblack209
3 dogwhite802
4 dogblack250.5
5 hamsterblack13
6 hamstergolden0.250.2
-
pets.groupby('Species').count()
-
Index IDColorWeightAge
cat 2222
dog 3333
hamster 2222
+
pets.groupby('Species').mean()
+
Index WeightAgeIs_Cat
cat 8.83333333333.06666666671
dog 48.33333333332.50
hamster 0.6251.60
\ No newline at end of file diff --git a/docs/grouping/aggregation/median()/index.html b/docs/grouping/aggregation/median()/index.html index d84c93db..32ce72b5 100644 --- a/docs/grouping/aggregation/median()/index.html +++ b/docs/grouping/aggregation/median()/index.html @@ -5,7 +5,7 @@ median() | bpd - + @@ -14,7 +14,7 @@
pets
Index SpeciesColorWeightAge
0 dogblack405
1 catgolden158
2 catblack209
3 dogwhite802
4 dogblack250.5
5 hamsterblack13
6 hamstergolden0.250.2
-
pets.groupby('Species').count()
-
Index IDColorWeightAge
cat 2222
dog 3333
hamster 2222
+
pets.groupby('Species').median()
+
Index WeightAgeIs_Cat
cat 100.21
dog 4020
hamster 0.6251.60
\ No newline at end of file diff --git a/docs/grouping/aggregation/min()/index.html b/docs/grouping/aggregation/min()/index.html index 515217a1..bac8245e 100644 --- a/docs/grouping/aggregation/min()/index.html +++ b/docs/grouping/aggregation/min()/index.html @@ -5,7 +5,7 @@ min() | bpd - + @@ -14,7 +14,7 @@
pets
Index SpeciesColorWeightAge
0 dogblack405
1 catgolden158
2 catblack209
3 dogwhite802
4 dogblack250.5
5 hamsterblack13
6 hamstergolden0.250.2
-
pets.groupby('Species').count()
-
Index IDColorWeightAge
cat 2222
dog 3333
hamster 2222
+
pets.groupby('Species').min()
+
Index IDColorWeightAgeIs_CatOwner_Comment
cat cat_001black1.50True****All you need is love and a cat.****
dog dog_001black250.5False There are no bad dogs, only bad owners.
hamster ham_001black0.250.2FalseNo, thank you!
\ No newline at end of file diff --git a/docs/grouping/aggregation/sum()/index.html b/docs/grouping/aggregation/sum()/index.html index ebcb3ec6..fdf41a17 100644 --- a/docs/grouping/aggregation/sum()/index.html +++ b/docs/grouping/aggregation/sum()/index.html @@ -5,7 +5,7 @@ sum() | bpd - + @@ -14,7 +14,7 @@
pets
Index SpeciesColorWeightAge
0 dogblack405
1 catgolden158
2 catblack209
3 dogwhite802
4 dogblack250.5
5 hamsterblack13
6 hamstergolden0.250.2
-
pets.groupby('Species').count()
-
Index IDColorWeightAge
cat 2222
dog 3333
hamster 2222
+
pets.groupby('Species').sum()
+
Index WeightAgeIs_Cat
cat 26.59.23
dog 1457.50
hamster 1.253.20
\ No newline at end of file diff --git a/docs/grouping/groupby/index.html b/docs/grouping/groupby/index.html index 6a3b9cf9..7e133134 100644 --- a/docs/grouping/groupby/index.html +++ b/docs/grouping/groupby/index.html @@ -5,7 +5,7 @@ groupby | bpd - + @@ -20,6 +20,6 @@
pets.groupby('Species').count()
Index IDColorWeightAge
cat 2222
dog 3333
hamster 2222
pets.groupby(['Species', 'Color']).count().reset_index()
-
Index IDColorWeightAge
cat 2222
dog 3333
hamster 2222
+
Index SpeciesColorIDWeightAgeIs_CatOwner_Comment
0 catblack22222
1 catgolden11111
2 dogblack22222
3 dogwhite11111
4 hamsterblack11111
5 hamstergolden11111
\ No newline at end of file diff --git a/docs/if-statements/Logical Operators/index.html b/docs/if-statements/Logical Operators/index.html index 4ae0d755..a79e5091 100644 --- a/docs/if-statements/Logical Operators/index.html +++ b/docs/if-statements/Logical Operators/index.html @@ -5,7 +5,7 @@ Logical Operators | bpd - + diff --git a/docs/if-statements/if-elif-else/index.html b/docs/if-statements/if-elif-else/index.html index 690ea25d..edf48dc6 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 a37500d0..89271555 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" @@ -5,7 +5,7 @@ in ⁄ not in | bpd - + diff --git a/docs/intro/index.html b/docs/intro/index.html index 9b7b6fa7..6d0f7fc4 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 5259c2e4..b6816152 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 3f77d365..bd0a99fe 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 75fe8794..f5898293 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 f6668a09..0a84a814 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 d82fb4e2..cca8df93 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 78f64fe6..53422101 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 a252a323..c761037c 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 926e3d1c..58f0d042 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 39cfee75..871e8da6 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 fcf889d0..a1539f18 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 46b3e8c9..12e376cc 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 458ec5b7..5c858c36 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 3a5e8c90..53c0a4bb 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 30469f88..cbf45f33 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 f2ea34cf..2bf91d5b 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 4fa39106..8ad59aca 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 45dcbbfc..5d318dfd 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 1081852e..899cd473 100644 --- a/markdown-page/index.html +++ b/markdown-page/index.html @@ -5,7 +5,7 @@ Markdown page example | bpd - +