From 7752383b10077c06bc6bf22fe297e90f7c0abffe Mon Sep 17 00:00:00 2001 From: Kate Feng <164668941+katefengx@users.noreply.github.com> Date: Mon, 22 Apr 2024 23:33:52 -0700 Subject: [PATCH] Deploy website - based on 798de9d7c03333f13ed010643ead20265a7ac472 --- 404.html | 2 +- assets/js/5cae8acf.3eee16e5.js | 1 - assets/js/5cae8acf.d0bf65c6.js | 1 + .../{runtime~main.fef67d13.js => runtime~main.a5f2ff36.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/series-methods/index.html | 2 +- docs/category/tutorial---basics/index.html | 2 +- docs/category/tutorial---extras/index.html | 2 +- docs/grouping/index.html | 6 +++--- docs/intro/index.html | 2 +- docs/series-methods/ser.count()/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 +- 44 files changed, 45 insertions(+), 45 deletions(-) delete mode 100644 assets/js/5cae8acf.3eee16e5.js create mode 100644 assets/js/5cae8acf.d0bf65c6.js rename assets/js/{runtime~main.fef67d13.js => runtime~main.a5f2ff36.js} (99%) diff --git a/404.html b/404.html index f18b4ab2..4842d66d 100644 --- a/404.html +++ b/404.html @@ -5,7 +5,7 @@ Page Not Found | bpd - + diff --git a/assets/js/5cae8acf.3eee16e5.js b/assets/js/5cae8acf.3eee16e5.js deleted file mode 100644 index cb52fd27..00000000 --- a/assets/js/5cae8acf.3eee16e5.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:()=>o,metadata:()=>d,toc:()=>l});var s=r(4848),t=r(8453),c=r(8597);const o={sidebar_position:5},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/m1nce/bpd-reference/docs/grouping.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"arr[]",permalink:"/bpd-reference/docs/arrays-and-numpy/arr[]"},next:{title:"Tutorial - Basics",permalink:"/bpd-reference/docs/category/tutorial---basics"}},i={},l=[];function m(e){const n={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)("p",{children:(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)(n.p,{children:[(0,s.jsx)("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:[(0,s.jsx)(n.code,{children:"df.groupby(column(s))"})," without an ",(0,s.jsx)("strong",{children:"aggregate method"})," will return a DataFrameGroupBy object, not a 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)(c.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)(c.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=[],c="",o=[];if(n){const e=JSON.parse(n);r=e.columns||[],t=e.data||[],c=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:c})," ",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:o[n]})," ",e.map(((e,n)=>(0,s.jsx)("td",{children:e},n)))]},n)))})]})})}},8453:(e,n,r)=>{r.d(n,{R:()=>o,x:()=>a});var s=r(6540);const t={},c=s.createContext(t);function o(e){const n=s.useContext(c);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:o(e.components),s.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5cae8acf.d0bf65c6.js b/assets/js/5cae8acf.d0bf65c6.js new file mode 100644 index 00000000..2f3407ac --- /dev/null +++ b/assets/js/5cae8acf.d0bf65c6.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:()=>a,default:()=>u,frontMatter:()=>c,metadata:()=>d,toc:()=>l});var s=r(4848),t=r(8453),o=r(8597);const c={sidebar_position:5},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/m1nce/bpd-reference/docs/grouping.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"arr[]",permalink:"/bpd-reference/docs/arrays-and-numpy/arr[]"},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:[(0,s.jsx)(n.code,{children:"df.groupby(column(s))"})," without an ",(0,s.jsx)("strong",{children:"aggregate method"})," will return a DataFrameGroupBy object, not a 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: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.fef67d13.js b/assets/js/runtime~main.a5f2ff36.js similarity index 99% rename from assets/js/runtime~main.fef67d13.js rename to assets/js/runtime~main.a5f2ff36.js index b3fb22c2..9790a338 100644 --- a/assets/js/runtime~main.fef67d13.js +++ b/assets/js/runtime~main.a5f2ff36.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,f,c,d,r={},b={};function t(e){var a=b[e];if(void 0!==a)return a.exports;var f=b[e]={id:e,loaded:!1,exports:{}};return r[e].call(f.exports,f,f.exports,t),f.loaded=!0,f.exports}t.m=r,t.c=b,e=[],t.O=(a,f,c,d)=>{if(!f){var r=1/0;for(i=0;i=d)&&Object.keys(t.O).every((e=>t.O[e](f[o])))?f.splice(o--,1):(b=!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 r={};a=a||[null,f({}),f([]),f(f)];for(var b=2&c&&e;"object"==typeof b&&!~a.indexOf(b);b=f(b))Object.getOwnPropertyNames(b).forEach((a=>r[a]=()=>e[a]));return r.default=()=>e,t.d(d,r),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",1903:"acecf23e",1953:"1e4232ab",1972:"73664a40",1974:"5c868d36",2634:"c4f5d8e4",2711:"9e4087bc",2748:"822bd8ab",3098:"533a09ca",3249:"ccc49370",3483:"5cae8acf",3554:"cb884b48",3637:"f4f34a3a",3694:"8717b14a",3976:"0e384e19",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:"a3c49eba",59:"a881a16b",122:"a14738c4",339:"4e174467",647:"4fa9cbb4",683:"a82a4489",709:"6ff6df33",1162:"40929b4c",1607:"a670a186",1644:"74ff4ff5",1724:"085a5da0",1903:"978cac9e",1953:"62e7f6ca",1972:"6864c464",1974:"c7f6b2cb",2237:"e9544c0b",2634:"3db290d2",2711:"4f5138d5",2748:"b0a2ae1f",3098:"319d2ef6",3242:"72fbb86d",3249:"12efda39",3483:"3eee16e5",3554:"0fa7674c",3637:"b17e442f",3694:"5454028b",3976:"b8d57755",4134:"6cb884a7",4736:"f38c51d7",4761:"3415eebc",4813:"aed177af",5391:"27038027",5427:"95f66799",5443:"bf2acfd8",5480:"c91de645",5521:"3d83e140",5557:"95fd1299",5589:"9a7123df",5612:"67891355",6061:"4931dd9a",6157:"b99d9878",6264:"ae06de1c",6625:"0dc0d098",6925:"45e66795",6969:"9e5192b3",7098:"89c24f1c",7117:"e95ca3cc",7472:"2a71da77",7643:"d5e01cc6",8209:"8b130ac7",8401:"114748a5",8405:"81b437c0",8510:"6ce0e09e",8559:"33a087db",8581:"d2250f33",8609:"cba4ee15",8737:"0e3fda52",8819:"bd390ccf",8863:"431acce5",9048:"f1dfcffe",9262:"e772e2c6",9325:"777bc4c6",9328:"f95f7890",9647:"95974c14",9749:"944918d4",9797:"59604264",9799:"5c3e8e51",9926:"9e6f4b7d"}[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,r)=>{if(c[e])c[e].push(a);else{var b,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i{b.onerror=b.onload=null,clearTimeout(s);var d=c[e];if(delete c[e],b.parentNode&&b.parentNode.removeChild(b),d&&d.forEach((e=>e(f))),a)return a(f)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:b}),12e4);b.onerror=l.bind(null,b.onerror),b.onload=l.bind(null,b.onload),o&&document.head.appendChild(b)}},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",acecf23e:"1903","1e4232ab":"1953","73664a40":"1972","5c868d36":"1974",c4f5d8e4:"2634","9e4087bc":"2711","822bd8ab":"2748","533a09ca":"3098",ccc49370:"3249","5cae8acf":"3483",cb884b48:"3554",f4f34a3a:"3637","8717b14a":"3694","0e384e19":"3976","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 r=t.p+t.u(a),b=new Error;t.l(r,(f=>{if(t.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var d=f&&("load"===f.type?"missing":f.type),r=f&&f.target&&f.target.src;b.message="Loading chunk "+a+" failed.\n("+d+": "+r+")",b.name="ChunkLoadError",b.type=d,b.request=r,c[1](b)}}),"chunk-"+a,a)}},t.O.j=a=>0===e[a];var a=(a,f)=>{var c,d,r=f[0],b=f[1],o=f[2],n=0;if(r.some((a=>0!==e[a]))){for(c in b)t.o(b,c)&&(t.m[c]=b[c]);if(o)var i=o(t)}for(a&&a(f);n{"use strict";var e,a,f,c,d,r={},b={};function t(e){var a=b[e];if(void 0!==a)return a.exports;var f=b[e]={id:e,loaded:!1,exports:{}};return r[e].call(f.exports,f,f.exports,t),f.loaded=!0,f.exports}t.m=r,t.c=b,e=[],t.O=(a,f,c,d)=>{if(!f){var r=1/0;for(i=0;i=d)&&Object.keys(t.O).every((e=>t.O[e](f[o])))?f.splice(o--,1):(b=!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 r={};a=a||[null,f({}),f([]),f(f)];for(var b=2&c&&e;"object"==typeof b&&!~a.indexOf(b);b=f(b))Object.getOwnPropertyNames(b).forEach((a=>r[a]=()=>e[a]));return r.default=()=>e,t.d(d,r),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",1903:"acecf23e",1953:"1e4232ab",1972:"73664a40",1974:"5c868d36",2634:"c4f5d8e4",2711:"9e4087bc",2748:"822bd8ab",3098:"533a09ca",3249:"ccc49370",3483:"5cae8acf",3554:"cb884b48",3637:"f4f34a3a",3694:"8717b14a",3976:"0e384e19",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:"a3c49eba",59:"a881a16b",122:"a14738c4",339:"4e174467",647:"4fa9cbb4",683:"a82a4489",709:"6ff6df33",1162:"40929b4c",1607:"a670a186",1644:"74ff4ff5",1724:"085a5da0",1903:"978cac9e",1953:"62e7f6ca",1972:"6864c464",1974:"c7f6b2cb",2237:"e9544c0b",2634:"3db290d2",2711:"4f5138d5",2748:"b0a2ae1f",3098:"319d2ef6",3242:"72fbb86d",3249:"12efda39",3483:"d0bf65c6",3554:"0fa7674c",3637:"b17e442f",3694:"5454028b",3976:"b8d57755",4134:"6cb884a7",4736:"f38c51d7",4761:"3415eebc",4813:"aed177af",5391:"27038027",5427:"95f66799",5443:"bf2acfd8",5480:"c91de645",5521:"3d83e140",5557:"95fd1299",5589:"9a7123df",5612:"67891355",6061:"4931dd9a",6157:"b99d9878",6264:"ae06de1c",6625:"0dc0d098",6925:"45e66795",6969:"9e5192b3",7098:"89c24f1c",7117:"e95ca3cc",7472:"2a71da77",7643:"d5e01cc6",8209:"8b130ac7",8401:"114748a5",8405:"81b437c0",8510:"6ce0e09e",8559:"33a087db",8581:"d2250f33",8609:"cba4ee15",8737:"0e3fda52",8819:"bd390ccf",8863:"431acce5",9048:"f1dfcffe",9262:"e772e2c6",9325:"777bc4c6",9328:"f95f7890",9647:"95974c14",9749:"944918d4",9797:"59604264",9799:"5c3e8e51",9926:"9e6f4b7d"}[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,r)=>{if(c[e])c[e].push(a);else{var b,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i{b.onerror=b.onload=null,clearTimeout(s);var d=c[e];if(delete c[e],b.parentNode&&b.parentNode.removeChild(b),d&&d.forEach((e=>e(f))),a)return a(f)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:b}),12e4);b.onerror=l.bind(null,b.onerror),b.onload=l.bind(null,b.onload),o&&document.head.appendChild(b)}},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",acecf23e:"1903","1e4232ab":"1953","73664a40":"1972","5c868d36":"1974",c4f5d8e4:"2634","9e4087bc":"2711","822bd8ab":"2748","533a09ca":"3098",ccc49370:"3249","5cae8acf":"3483",cb884b48:"3554",f4f34a3a:"3637","8717b14a":"3694","0e384e19":"3976","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 r=t.p+t.u(a),b=new Error;t.l(r,(f=>{if(t.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var d=f&&("load"===f.type?"missing":f.type),r=f&&f.target&&f.target.src;b.message="Loading chunk "+a+" failed.\n("+d+": "+r+")",b.name="ChunkLoadError",b.type=d,b.request=r,c[1](b)}}),"chunk-"+a,a)}},t.O.j=a=>0===e[a];var a=(a,f)=>{var c,d,r=f[0],b=f[1],o=f[2],n=0;if(r.some((a=>0!==e[a]))){for(c in b)t.o(b,c)&&(t.m[c]=b[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 b30719bf..980665c5 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 0f5c13e7..e83cd1c5 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 82a6d146..41e31c74 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 234151f1..28b335f0 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 6193772f..986dfb6c 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 2b4fdce9..73211c62 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 79ab8362..f7e835d3 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 925ea54f..a4409a22 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 7d88e8f1..382b3818 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 8e275aa7..75f67b06 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 f91475ad..765b082b 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 e0fa0ebc..2fa15c54 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 40aecd88..e1d786d5 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 c4599b49..8217d1f0 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 ff8745a2..53cf82a6 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 5103e98a..33de5fd1 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 81dd7a88..f8dcb74e 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 51c8c7be..70ca20c4 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 d3568492..0d2731a2 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 9b443d7c..97df4316 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 cfae0ce6..0af37d17 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 d792d59e..a8cbd8a4 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 abaacbd5..54aaaa74 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/series-methods/index.html b/docs/category/series-methods/index.html index 46d410ab..b6e77329 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 0ba2b911..1eecfe60 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 38dcf256..95fff08e 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 1fa9ad92..577d5e0b 100644 --- a/docs/grouping/index.html +++ b/docs/grouping/index.html @@ -5,14 +5,14 @@ grouping | bpd - +

grouping

df.groupby(column_name) -

or

+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:
df.groupby(column(s)) without an aggregate method will return a DataFrameGroupBy object, not a 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:
df.groupby(column(s)) without an aggregate method will return a DataFrameGroupBy object, not a 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()

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 3a48453c..62fd25a3 100644 --- a/docs/intro/index.html +++ b/docs/intro/index.html @@ -5,7 +5,7 @@ intro | bpd - + diff --git a/docs/series-methods/ser.count()/index.html b/docs/series-methods/ser.count()/index.html index 7fa5ee18..42441b48 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/tutorial-basics/congratulations/index.html b/docs/tutorial-basics/congratulations/index.html index d50f49e6..d894fd78 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 77357ab4..69881bf7 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 bc7b27d8..60fe79a4 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 ecd694da..9a9f5b27 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 80ff8192..3450097b 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 e228483a..99a7be32 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 71db9859..96714d60 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 462cdc41..2c629df2 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 e7c2c4cf..5c71a9bd 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 c294d674..e2a5734b 100644 --- a/markdown-page/index.html +++ b/markdown-page/index.html @@ -5,7 +5,7 @@ Markdown page example | bpd - +