From 0e91ae1af99fffd6b5447f4914420ca28369a470 Mon Sep 17 00:00:00 2001 From: Kate Feng <164668941+katefengx@users.noreply.github.com> Date: Mon, 22 Apr 2024 23:49:25 -0700 Subject: [PATCH] Deploy website - based on 5a2b77024e80d7946d66987fb559dbe63ce8ece3 --- 404.html | 2 +- assets/js/5cae8acf.1764ca52.js | 1 + assets/js/5cae8acf.36f3621c.js | 1 - .../js/{runtime~main.b28d084f.js => runtime~main.0d28e57c.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/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/category/accessing-data/index.html | 2 +- docs/category/arrays-and-numpy/index.html | 2 +- docs/category/building-and-organizing-dataframes/index.html | 2 +- docs/category/plotting/index.html | 2 +- docs/category/series-methods/index.html | 2 +- docs/category/tutorial---basics/index.html | 2 +- docs/category/tutorial---extras/index.html | 2 +- docs/grouping/index.html | 4 ++-- docs/intro/index.html | 2 +- docs/plotting/histogram/index.html | 2 +- docs/series-methods/ser.count()/index.html | 2 +- docs/series-methods/ser.max()/index.html | 2 +- docs/tutorial-basics/congratulations/index.html | 2 +- docs/tutorial-basics/create-a-blog-post/index.html | 2 +- docs/tutorial-basics/create-a-document/index.html | 2 +- docs/tutorial-basics/create-a-page/index.html | 2 +- docs/tutorial-basics/deploy-your-site/index.html | 2 +- docs/tutorial-basics/markdown-features/index.html | 2 +- docs/tutorial-extras/manage-docs-versions/index.html | 2 +- docs/tutorial-extras/translate-your-site/index.html | 2 +- index.html | 2 +- markdown-page/index.html | 2 +- 47 files changed, 47 insertions(+), 47 deletions(-) create mode 100644 assets/js/5cae8acf.1764ca52.js delete mode 100644 assets/js/5cae8acf.36f3621c.js rename assets/js/{runtime~main.b28d084f.js => runtime~main.0d28e57c.js} (64%) diff --git a/404.html b/404.html index 268e8689..d3fcb129 100644 --- a/404.html +++ b/404.html @@ -5,7 +5,7 @@ Page Not Found | bpd - + diff --git a/assets/js/5cae8acf.1764ca52.js b/assets/js/5cae8acf.1764ca52.js new file mode 100644 index 00000000..e218e01c --- /dev/null +++ b/assets/js/5cae8acf.1764ca52.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[3483],{5001:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>i,contentTitle:()=>c,default:()=>h,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",title:"grouping",description:"df.groupby(columnname)ordf.groupby([columnnames])",source:"@site/docs/grouping.md",sourceDirName:".",slug:"/grouping",permalink:"/bpd-reference/docs/grouping",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping.md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"histogram",permalink:"/bpd-reference/docs/plotting/histogram"},next:{title:"Tutorial - Basics",permalink:"/bpd-reference/docs/category/tutorial---basics"}},i={},l=[];function m(e){const n={code:"code",hr:"hr",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:["Group DataFrame by values in columns specified in ",(0,s.jsx)("em",{children:"column_name"})," or a 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:"Note:"}),(0,s.jsxs)("dd",{children:["Grouping without an ",(0,s.jsx)("strong",{children:"aggregate method"})," will return a DataFrameGroupBy object (not DataFrame)"]}),(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:"Group by the column specified."}),(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."}),(0,s.jsx)("dt",{className:"term",children:"Returns:"}),(0,s.jsx)("dd",{children:"df_gb - groupby object that contains information about the groups."}),(0,s.jsx)("dt",{className:"term",children:"Return Type:"}),(0,s.jsx)("dd",{children:"DataFrameGroupBy"})]}),(0,s.jsx)("p",{children:(0,s.jsx)("strong",{children:"Aggregate Methods"})}),(0,s.jsx)("code",{children:".mean()"}),(0,s.jsx)("code",{children:".median()"}),(0,s.jsx)("code",{children:".count()"}),(0,s.jsx)("code",{children:".max()"}),(0,s.jsx)("code",{children:".min()"}),(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]]}'})]})}function h(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(m,{...e})}):m(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",{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 diff --git a/assets/js/5cae8acf.36f3621c.js b/assets/js/5cae8acf.36f3621c.js deleted file mode 100644 index 6361cefd..00000000 --- a/assets/js/5cae8acf.36f3621c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[3483],{5001:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>i,contentTitle:()=>a,default:()=>u,frontMatter:()=>c,metadata:()=>d,toc:()=>l});var s=r(4848),t=r(8453),o=r(8597);const c={sidebar_position:7},a=void 0,d={id:"grouping",title:"grouping",description:"df.groupby(columnname)ordf.groupby([columnnames])",source:"@site/docs/grouping.md",sourceDirName:".",slug:"/grouping",permalink:"/bpd-reference/docs/grouping",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/docs/grouping.md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"histogram",permalink:"/bpd-reference/docs/plotting/histogram"},next:{title:"Tutorial - Basics",permalink:"/bpd-reference/docs/category/tutorial---basics"}},i={},l=[];function m(e){const n={code:"code",hr:"hr",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:["Group DataFrame by values in columns specified in ",(0,s.jsx)("em",{children:"column_name"})," or a 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:"Note:"}),(0,s.jsxs)("dd",{children:["Grouping without an ",(0,s.jsx)("strong",{children:"aggregate method"})," will return a DataFrameGroupBy object (not DataFrame)"]}),(0,s.jsx)("dt",{className:"term",children:"Input:"}),(0,s.jsxs)("dd",{className:"parameter",children:["columns : ",(0,s.jsx)("em",{children:"string"}),", or ",(0,s.jsx)("em",{children:"list"})," of column names"]}),(0,s.jsx)("dd",{className:"parameter-description",children:"Group by the column specified. If list, groups from left to right."}),(0,s.jsx)("dt",{className:"term",children:"Returns:"}),(0,s.jsx)("dd",{children:"df_gb - groupby object that contains information about the groups."}),(0,s.jsx)("dt",{className:"term",children:"Return Type:"}),(0,s.jsx)("dd",{children:"DataFrameGroupBy"})]}),(0,s.jsx)("p",{children:(0,s.jsx)("strong",{children:"Aggregate Methods"})}),(0,s.jsx)("code",{children:".mean()"}),(0,s.jsx)("code",{children:".median()"}),(0,s.jsx)("code",{children:".count()"}),(0,s.jsx)("code",{children:".max()"}),(0,s.jsx)("code",{children:".min()"}),(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]]}'})]})}function u(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(m,{...e})}):m(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="",c=[];if(n){const e=JSON.parse(n);r=e.columns||[],t=e.data||[],o=e.indexName||"Index",c=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",{children:c[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:()=>c,x:()=>a});var s=r(6540);const t={},o=s.createContext(t);function c(e){const n=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:c(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.b28d084f.js b/assets/js/runtime~main.0d28e57c.js similarity index 64% rename from assets/js/runtime~main.b28d084f.js rename to assets/js/runtime~main.0d28e57c.js index 1c288854..519d777c 100644 --- a/assets/js/runtime~main.b28d084f.js +++ b/assets/js/runtime~main.0d28e57c.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",339:"8fb6bffd",647:"db012a9c",683:"dd35b4d6",709:"1ae55b72",1162:"ecffc2db",1607:"faf9f7da",1644:"c7c46bce",1724:"dff1c289",1819:"d6e622cf",1903:"acecf23e",1953:"1e4232ab",1972:"73664a40",1974:"5c868d36",2634:"c4f5d8e4",2711:"9e4087bc",2748:"822bd8ab",3098:"533a09ca",3249:"ccc49370",3483:"5cae8acf",3554:"cb884b48",3626:"d8c458b9",3637:"f4f34a3a",3694:"8717b14a",3976:"0e384e19",4014:"8cfe8d4e",4134:"393be207",4736:"e44a2883",4761:"db55d312",4813:"6875c492",5391:"cd451366",5427:"956f17b0",5443:"add9b02f",5480:"09399a2b",5521:"38b2e376",5557:"d9f32620",5589:"ea885f1b",5612:"8216cb10",6061:"1f391b9e",6157:"8281cf06",6625:"4d1f5c9d",6925:"ecad1ce6",6969:"14eb3368",7098:"a7bd4aaa",7117:"eb5ef7c5",7472:"814f3328",7643:"a6aa9e1f",8209:"01a85c17",8401:"17896441",8405:"6d7cf8c9",8510:"6669e58d",8559:"3349ad3a",8581:"935f2afb",8609:"925b3f96",8737:"7661071f",8819:"f1d17ea9",8863:"f55d3e7a",9048:"a94703ab",9262:"18c41134",9325:"59362658",9328:"e273c56f",9647:"5e95c892",9749:"9ee63435",9797:"85bbc213",9799:"44007711",9926:"67908667"}[e]||e)+"."+{10:"bd64ac43",59:"b2626294",122:"89c40c25",339:"c1d2b29e",647:"61005b42",683:"db5bb6f5",709:"23cc9e4d",1162:"40929b4c",1607:"a670a186",1644:"74ff4ff5",1724:"80c3a789",1819:"1ff2801d",1903:"978cac9e",1953:"6d209474",1972:"6864c464",1974:"67ff9f85",2237:"e9544c0b",2634:"3db290d2",2711:"4f5138d5",2748:"9488a836",3098:"5e89ae16",3242:"72fbb86d",3249:"12efda39",3483:"36f3621c",3554:"206678b1",3626:"402ecb5d",3637:"b17e442f",3694:"5454028b",3976:"306e4829",4014:"27079b41",4134:"6cb884a7",4736:"0423081c",4761:"3415eebc",4813:"aed177af",5391:"27038027",5427:"95f66799",5443:"bf2acfd8",5480:"c91de645",5521:"3d83e140",5557:"95fd1299",5589:"9a7123df",5612:"67891355",6061:"4931dd9a",6157:"dd71d0c7",6264:"ae06de1c",6625:"0dc0d098",6925:"45e66795",6969:"9e5192b3",7098:"89c24f1c",7117:"e95ca3cc",7472:"2a71da77",7643:"d5e01cc6",8209:"8b130ac7",8401:"114748a5",8405:"81b437c0",8510:"455ef7ed",8559:"33a087db",8581:"0e7cc4c4",8609:"cba4ee15",8737:"0e3fda52",8819:"bd390ccf",8863:"a744d5a2",9048:"f1dfcffe",9262:"fe163b44",9325:"777bc4c6",9328:"f95f7890",9647:"95974c14",9749:"944918d4",9797:"59604264",9799:"181ead39",9926:"f968f01c"}[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","8fb6bffd":"339",db012a9c:"647",dd35b4d6:"683","1ae55b72":"709",ecffc2db:"1162",faf9f7da:"1607",c7c46bce:"1644",dff1c289:"1724",d6e622cf:"1819",acecf23e:"1903","1e4232ab":"1953","73664a40":"1972","5c868d36":"1974",c4f5d8e4:"2634","9e4087bc":"2711","822bd8ab":"2748","533a09ca":"3098",ccc49370:"3249","5cae8acf":"3483",cb884b48:"3554",d8c458b9:"3626",f4f34a3a:"3637","8717b14a":"3694","0e384e19":"3976","8cfe8d4e":"4014","393be207":"4134",e44a2883:"4736",db55d312:"4761","6875c492":"4813",cd451366:"5391","956f17b0":"5427",add9b02f:"5443","09399a2b":"5480","38b2e376":"5521",d9f32620:"5557",ea885f1b:"5589","8216cb10":"5612","1f391b9e":"6061","8281cf06":"6157","4d1f5c9d":"6625",ecad1ce6:"6925","14eb3368":"6969",a7bd4aaa:"7098",eb5ef7c5:"7117","814f3328":"7472",a6aa9e1f:"7643","01a85c17":"8209","6d7cf8c9":"8405","6669e58d":"8510","3349ad3a":"8559","935f2afb":"8581","925b3f96":"8609","7661071f":"8737",f1d17ea9:"8819",f55d3e7a:"8863",a94703ab:"9048","18c41134":"9262",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,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",339:"8fb6bffd",647:"db012a9c",683:"dd35b4d6",709:"1ae55b72",1162:"ecffc2db",1607:"faf9f7da",1644:"c7c46bce",1724:"dff1c289",1819:"d6e622cf",1903:"acecf23e",1953:"1e4232ab",1972:"73664a40",1974:"5c868d36",2634:"c4f5d8e4",2711:"9e4087bc",2748:"822bd8ab",3098:"533a09ca",3249:"ccc49370",3483:"5cae8acf",3554:"cb884b48",3626:"d8c458b9",3637:"f4f34a3a",3694:"8717b14a",3976:"0e384e19",4014:"8cfe8d4e",4134:"393be207",4736:"e44a2883",4761:"db55d312",4813:"6875c492",5391:"cd451366",5427:"956f17b0",5443:"add9b02f",5480:"09399a2b",5521:"38b2e376",5557:"d9f32620",5589:"ea885f1b",5612:"8216cb10",6061:"1f391b9e",6157:"8281cf06",6625:"4d1f5c9d",6925:"ecad1ce6",6969:"14eb3368",7098:"a7bd4aaa",7117:"eb5ef7c5",7472:"814f3328",7643:"a6aa9e1f",8209:"01a85c17",8401:"17896441",8405:"6d7cf8c9",8510:"6669e58d",8559:"3349ad3a",8581:"935f2afb",8609:"925b3f96",8737:"7661071f",8819:"f1d17ea9",8863:"f55d3e7a",9048:"a94703ab",9262:"18c41134",9325:"59362658",9328:"e273c56f",9647:"5e95c892",9749:"9ee63435",9797:"85bbc213",9799:"44007711",9926:"67908667"}[e]||e)+"."+{10:"bd64ac43",59:"b2626294",122:"89c40c25",339:"c1d2b29e",647:"61005b42",683:"db5bb6f5",709:"23cc9e4d",1162:"40929b4c",1607:"a670a186",1644:"74ff4ff5",1724:"80c3a789",1819:"1ff2801d",1903:"978cac9e",1953:"6d209474",1972:"6864c464",1974:"67ff9f85",2237:"e9544c0b",2634:"3db290d2",2711:"4f5138d5",2748:"9488a836",3098:"5e89ae16",3242:"72fbb86d",3249:"12efda39",3483:"1764ca52",3554:"206678b1",3626:"402ecb5d",3637:"b17e442f",3694:"5454028b",3976:"306e4829",4014:"27079b41",4134:"6cb884a7",4736:"0423081c",4761:"3415eebc",4813:"aed177af",5391:"27038027",5427:"95f66799",5443:"bf2acfd8",5480:"c91de645",5521:"3d83e140",5557:"95fd1299",5589:"9a7123df",5612:"67891355",6061:"4931dd9a",6157:"dd71d0c7",6264:"ae06de1c",6625:"0dc0d098",6925:"45e66795",6969:"9e5192b3",7098:"89c24f1c",7117:"e95ca3cc",7472:"2a71da77",7643:"d5e01cc6",8209:"8b130ac7",8401:"114748a5",8405:"81b437c0",8510:"455ef7ed",8559:"33a087db",8581:"0e7cc4c4",8609:"cba4ee15",8737:"0e3fda52",8819:"bd390ccf",8863:"a744d5a2",9048:"f1dfcffe",9262:"fe163b44",9325:"777bc4c6",9328:"f95f7890",9647:"95974c14",9749:"944918d4",9797:"59604264",9799:"181ead39",9926:"f968f01c"}[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","8fb6bffd":"339",db012a9c:"647",dd35b4d6:"683","1ae55b72":"709",ecffc2db:"1162",faf9f7da:"1607",c7c46bce:"1644",dff1c289:"1724",d6e622cf:"1819",acecf23e:"1903","1e4232ab":"1953","73664a40":"1972","5c868d36":"1974",c4f5d8e4:"2634","9e4087bc":"2711","822bd8ab":"2748","533a09ca":"3098",ccc49370:"3249","5cae8acf":"3483",cb884b48:"3554",d8c458b9:"3626",f4f34a3a:"3637","8717b14a":"3694","0e384e19":"3976","8cfe8d4e":"4014","393be207":"4134",e44a2883:"4736",db55d312:"4761","6875c492":"4813",cd451366:"5391","956f17b0":"5427",add9b02f:"5443","09399a2b":"5480","38b2e376":"5521",d9f32620:"5557",ea885f1b:"5589","8216cb10":"5612","1f391b9e":"6061","8281cf06":"6157","4d1f5c9d":"6625",ecad1ce6:"6925","14eb3368":"6969",a7bd4aaa:"7098",eb5ef7c5:"7117","814f3328":"7472",a6aa9e1f:"7643","01a85c17":"8209","6d7cf8c9":"8405","6669e58d":"8510","3349ad3a":"8559","935f2afb":"8581","925b3f96":"8609","7661071f":"8737",f1d17ea9:"8819",f55d3e7a:"8863",a94703ab:"9048","18c41134":"9262",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,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 a292f5dd..5bcf3732 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 f80729f9..b1c7bf7e 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 b1c02fdd..f612e88d 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 4d5b1252..dbc98a34 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 799b93b5..4dbffa2c 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 227c5aae..db6d1bea 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 46028bc4..4417fbb4 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 03acc801..615b4826 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 b750bed8..0f7c9c50 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 f4ab3368..9ae88c23 100644 --- a/blog/welcome/index.html +++ b/blog/welcome/index.html @@ -5,7 +5,7 @@ Welcome | bpd - + diff --git a/docs/accessing-data/df.shape/index.html b/docs/accessing-data/df.shape/index.html index 0f7f4b93..9be3180d 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 dc6b7920..f3913a8b 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 77c04e45..2c118196 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 3493f7f9..df5eb66a 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 84cae656..5beacd2a 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 b76703b3..88c2292d 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 ad9c5a61..86874fad 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 a33e78a6..d21927be 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 ca023760..84f28291 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 89fc5127..e1b53342 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/category/accessing-data/index.html b/docs/category/accessing-data/index.html index 9717a901..c2813b21 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 37014654..90c83598 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/building-and-organizing-dataframes/index.html b/docs/category/building-and-organizing-dataframes/index.html index 0923b2a5..7a85dddc 100644 --- a/docs/category/building-and-organizing-dataframes/index.html +++ b/docs/category/building-and-organizing-dataframes/index.html @@ -5,7 +5,7 @@ building and organizing DataFrames | bpd - + diff --git a/docs/category/plotting/index.html b/docs/category/plotting/index.html index f6dfdab8..44d5fc30 100644 --- a/docs/category/plotting/index.html +++ b/docs/category/plotting/index.html @@ -5,7 +5,7 @@ plotting | bpd - + diff --git a/docs/category/series-methods/index.html b/docs/category/series-methods/index.html index d1b09be6..81ec709b 100644 --- a/docs/category/series-methods/index.html +++ b/docs/category/series-methods/index.html @@ -5,7 +5,7 @@ series methods | bpd - + diff --git a/docs/category/tutorial---basics/index.html b/docs/category/tutorial---basics/index.html index 43bdcabd..90db3704 100644 --- a/docs/category/tutorial---basics/index.html +++ b/docs/category/tutorial---basics/index.html @@ -5,7 +5,7 @@ Tutorial - Basics | bpd - + diff --git a/docs/category/tutorial---extras/index.html b/docs/category/tutorial---extras/index.html index d7e5a2d0..84e1314b 100644 --- a/docs/category/tutorial---extras/index.html +++ b/docs/category/tutorial---extras/index.html @@ -5,7 +5,7 @@ Tutorial - Extras | bpd - + diff --git a/docs/grouping/index.html b/docs/grouping/index.html index 2bd00e69..b68e1f0b 100644 --- a/docs/grouping/index.html +++ b/docs/grouping/index.html @@ -5,14 +5,14 @@ grouping | bpd - +

grouping

df.groupby(column_name) or df.groupby([column_names]) -

Group DataFrame by values in columns specified in column_name or a list of column_names.

A groupby operation groups large amounts of data based on the column name(s)

Note:
Grouping without an aggregate method will return a DataFrameGroupBy object (not DataFrame)
Input:
columns : string, or list of column names
Group by the column specified. If list, groups from left to right.
Returns:
df_gb - groupby object that contains information about the groups.
Return Type:
DataFrameGroupBy

Aggregate Methods

.mean().median().count().max().min().sum()
+

Group DataFrame by values in columns specified in column_name or a list of column_names.

A groupby operation groups large amounts of data based on the column name(s)

Note:
Grouping without an aggregate method will return a DataFrameGroupBy object (not DataFrame)
Input:
column_name : string
Group by the column specified.
column_names : list (of strings)
Groups by all listed columns, starting with the first one in the list.
Returns:
df_gb - groupby object that contains information about the groups.
Return Type:
DataFrameGroupBy

Aggregate Methods

.mean().median().count().max().min().sum()

pets
Index SpeciesColorWeightAge
0 dogblack405
1 catgolden158
2 catblack209
3 dogwhite802
4 dogblack250.5
5 hamsterblack13
6 hamstergolden0.250.2
diff --git a/docs/intro/index.html b/docs/intro/index.html index 0782b871..a4a4a77d 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 f51f9a03..0f9ab5b3 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/ser.count()/index.html b/docs/series-methods/ser.count()/index.html index 410e42dc..938bb14f 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 da43375c..49b34692 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/tutorial-basics/congratulations/index.html b/docs/tutorial-basics/congratulations/index.html index 6a320ef7..24c7c20c 100644 --- a/docs/tutorial-basics/congratulations/index.html +++ b/docs/tutorial-basics/congratulations/index.html @@ -5,7 +5,7 @@ Congratulations! | bpd - + diff --git a/docs/tutorial-basics/create-a-blog-post/index.html b/docs/tutorial-basics/create-a-blog-post/index.html index dc879fcc..ed87d830 100644 --- a/docs/tutorial-basics/create-a-blog-post/index.html +++ b/docs/tutorial-basics/create-a-blog-post/index.html @@ -5,7 +5,7 @@ Create a Blog Post | bpd - + diff --git a/docs/tutorial-basics/create-a-document/index.html b/docs/tutorial-basics/create-a-document/index.html index 1188f85b..14132c6a 100644 --- a/docs/tutorial-basics/create-a-document/index.html +++ b/docs/tutorial-basics/create-a-document/index.html @@ -5,7 +5,7 @@ Create a Document | bpd - + diff --git a/docs/tutorial-basics/create-a-page/index.html b/docs/tutorial-basics/create-a-page/index.html index e84a10a4..3312e5cc 100644 --- a/docs/tutorial-basics/create-a-page/index.html +++ b/docs/tutorial-basics/create-a-page/index.html @@ -5,7 +5,7 @@ Create a Page | bpd - + diff --git a/docs/tutorial-basics/deploy-your-site/index.html b/docs/tutorial-basics/deploy-your-site/index.html index 3901aa86..28ae092f 100644 --- a/docs/tutorial-basics/deploy-your-site/index.html +++ b/docs/tutorial-basics/deploy-your-site/index.html @@ -5,7 +5,7 @@ Deploy your site | bpd - + diff --git a/docs/tutorial-basics/markdown-features/index.html b/docs/tutorial-basics/markdown-features/index.html index 42d173a8..b55c0974 100644 --- a/docs/tutorial-basics/markdown-features/index.html +++ b/docs/tutorial-basics/markdown-features/index.html @@ -5,7 +5,7 @@ Markdown Features | bpd - + diff --git a/docs/tutorial-extras/manage-docs-versions/index.html b/docs/tutorial-extras/manage-docs-versions/index.html index 94fb85fb..e654acda 100644 --- a/docs/tutorial-extras/manage-docs-versions/index.html +++ b/docs/tutorial-extras/manage-docs-versions/index.html @@ -5,7 +5,7 @@ Manage Docs Versions | bpd - + diff --git a/docs/tutorial-extras/translate-your-site/index.html b/docs/tutorial-extras/translate-your-site/index.html index efc9a268..8aaf2332 100644 --- a/docs/tutorial-extras/translate-your-site/index.html +++ b/docs/tutorial-extras/translate-your-site/index.html @@ -5,7 +5,7 @@ Translate your site | bpd - + diff --git a/index.html b/index.html index e6bbf2f2..4760a5e3 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 4e319074..baecfd82 100644 --- a/markdown-page/index.html +++ b/markdown-page/index.html @@ -5,7 +5,7 @@ Markdown page example | bpd - +