diff --git a/404.html b/404.html index d742d5ca..e91b2ca8 100644 --- a/404.html +++ b/404.html @@ -5,7 +5,7 @@ Page Not Found | bpd - + diff --git a/assets/js/fe41946a.18cc98cc.js b/assets/js/fe41946a.18cc98cc.js deleted file mode 100644 index 9e35da7a..00000000 --- a/assets/js/fe41946a.18cc98cc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[7489],{8603:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>d,contentTitle:()=>o,default:()=>m,frontMatter:()=>c,metadata:()=>i,toc:()=>l});var s=r(4848),t=r(8453),a=(r(8597),r(8205));const c={sidebar_position:1},o=void 0,i={id:"documentation/data format conversion/np.array()",title:"np.array()",description:"np.array(input)",source:"@site/docs/documentation/data format conversion/np.array().md",sourceDirName:"documentation/data format conversion",slug:"/documentation/data format conversion/np.array()",permalink:"/bpd-reference/docs/documentation/data format conversion/np.array()",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/tree/main/docs/documentation/data format conversion/np.array().md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"docsSidebar",previous:{title:"Data Format Conversion",permalink:"/bpd-reference/docs/category/data-format-conversion"},next:{title:"list()",permalink:"/bpd-reference/docs/documentation/data format conversion/list()"}},d={},l=[];function p(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:"np.array(input)"}),"\n",(0,s.jsxs)("div",{className:"base",children:[(0,s.jsx)("p",{children:(0,s.jsx)("strong",{children:"Casts an iterable into a list (bpd.Series, df.columns, and list)"})}),(0,s.jsxs)("dl",{children:[(0,s.jsx)("dt",{className:"term",children:"Input:"}),(0,s.jsxs)("dd",{className:"parameter",children:["input : ",(0,s.jsx)("em",{children:"ser, .columns, list"})]}),(0,s.jsx)("dd",{className:"parameter-description",children:"Name of series/.columns/list to cast to an array."}),(0,s.jsx)("dt",{className:"term",children:"Returns:"}),(0,s.jsx)("dd",{children:"df_with_cols - Same input, casted to an array. "}),(0,s.jsx)("dt",{className:"term",children:"Return Type:"}),(0,s.jsx)("dd",{children:"Array"})]})]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)("p",{children:(0,s.jsx)("strong",{children:"Series to Array"})}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-python",children:"weight_ser = pets.get('Weight')\nweight_ser\n"})}),"\n",(0,s.jsx)(a.A,{data:'{"name":"Weight", "dtype": "float64", "index":[0,1,2,3,4,5,6,7],"data":[40.0,1.5,15.0,80.0,25.0,1.0,0.25,10.0]}'}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-python",children:"weight_arr = np.array(weight_ser)\nweight_arr\n"})}),"\n",(0,s.jsx)(n.p,{children:"array([40. , 15. , 20. , 80. , 25. , 1. , 0.25])"}),"\n",(0,s.jsx)("p",{children:(0,s.jsx)("strong",{children:".columns to Array"})}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-python",children:"pets_cols = pets.columns\npet_cols\n"})}),"\n",(0,s.jsx)(n.p,{children:"Index(['ID', 'Species', 'Color', 'Weight', 'Age', 'Is_Cat', 'Owner_Comment'], dtype='object')"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-python",children:"pets_cols_arr = np.array(pets.columns)\npet_cols_arr\n"})}),"\n",(0,s.jsx)(n.p,{children:"array(['ID', 'Species', 'Color', 'Weight', 'Age', 'Is_Cat',\n'Owner_Comment'], dtype=object)"}),"\n",(0,s.jsx)("p",{children:(0,s.jsx)("strong",{children:"List to Array"})}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-python",children:'pets_list = ["dog", "cat", "hamster", "cat", "cat", "dog", "dog", "hamster", "hamster"]\npet_list\n'})}),"\n",(0,s.jsx)(n.p,{children:'["dog", "cat", "hamster", "cat", "cat", "dog", "dog", "hamster", "hamster"]'}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-python",children:"pets_list_arr = np.array(pets_list)\npet_list_arr\n"})}),"\n",(0,s.jsx)(n.p,{children:'array(["dog", "cat", "hamster", "cat", "cat", "dog", "dog", "hamster", "hamster"], dtype=object)'})]})}function m(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(p,{...e})}):p(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="",c=[];if(n){const e=JSON.parse(n);r=e.columns||[],t=e.data||[],a=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: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: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)))})]})})}},8205:(e,n,r)=>{r.d(n,{A:()=>t});r(6540);var s=r(4848);const t=e=>{let{data:n}=e,r=[],t=[],a="",c="";if(n)try{const e=JSON.parse(n);a=e.name||"",c=e.dtype||"Unknown type",r=e.index||[],t=e.data||[]}catch(i){console.error("Error parsing data prop in SeriesComponent:",i)}const o=t.map((e=>JSON.stringify(e)));return(0,s.jsxs)("div",{className:"series-container",children:[(0,s.jsx)("ul",{className:"series-list",children:o.map(((e,n)=>(0,s.jsxs)("li",{className:"series-item",children:[(0,s.jsx)("span",{className:"series-index",children:r[n]}),(0,s.jsx)("span",{className:"series-value",children:"true"===e||"false"===e?e.charAt(0).toUpperCase()+e.slice(1):e})]},n)))}),(0,s.jsxs)("div",{className:"series-footer",children:["Name: ",a,", dtype: ",c]})]})}},8453:(e,n,r)=>{r.d(n,{R:()=>c,x:()=>o});var s=r(6540);const t={},a=s.createContext(t);function c(e){const n=s.useContext(a);return s.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(t):e.components||t:c(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/fe41946a.98d354f9.js b/assets/js/fe41946a.98d354f9.js new file mode 100644 index 00000000..c11b3c75 --- /dev/null +++ b/assets/js/fe41946a.98d354f9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkbpd_reference=self.webpackChunkbpd_reference||[]).push([[7489],{8603:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>o,contentTitle:()=>d,default:()=>h,frontMatter:()=>c,metadata:()=>i,toc:()=>l});var t=r(4848),a=r(8453),s=(r(8597),r(8205));const c={sidebar_position:1},d=void 0,i={id:"documentation/data format conversion/np.array()",title:"np.array()",description:"np.array(input)",source:"@site/docs/documentation/data format conversion/np.array().md",sourceDirName:"documentation/data format conversion",slug:"/documentation/data format conversion/np.array()",permalink:"/bpd-reference/docs/documentation/data format conversion/np.array()",draft:!1,unlisted:!1,editUrl:"https://github.com/dsc-courses/bpd-reference/tree/main/docs/documentation/data format conversion/np.array().md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"docsSidebar",previous:{title:"Data Format Conversion",permalink:"/bpd-reference/docs/category/data-format-conversion"},next:{title:"list()",permalink:"/bpd-reference/docs/documentation/data format conversion/list()"}},o={},l=[];function p(e){const n={code:"code",hr:"hr",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("code",{children:"np.array(input)"}),"\n",(0,t.jsxs)("div",{className:"base",children:[(0,t.jsx)("p",{children:(0,t.jsx)("strong",{children:"Casts an iterable (bpd.Series, bpd.Index, and list) into a numpy array"})}),(0,t.jsxs)("dl",{children:[(0,t.jsx)("dt",{className:"term",children:"Input:"}),(0,t.jsxs)("dd",{className:"parameter",children:["input : ",(0,t.jsx)("em",{children:"ser, df.index, df.columns, list"})]}),(0,t.jsx)("dd",{className:"parameter-description",children:"Name of series/.columns/list to cast to an array."}),(0,t.jsx)("dt",{className:"term",children:"Returns:"}),(0,t.jsx)("dd",{children:"An array with the same elements as the input. "}),(0,t.jsx)("dt",{className:"term",children:"Return Type:"}),(0,t.jsx)("dd",{children:"Array"})]})]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)("p",{children:(0,t.jsx)("strong",{children:"Series to Array"})}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-python",children:"weight_ser = pets.get('Weight')\nweight_ser\n"})}),"\n",(0,t.jsx)(s.A,{data:'{"name":"Weight", "dtype": "float64", "index":[0,1,2,3,4,5,6,7],"data":[40.0,1.5,15.0,80.0,25.0,1.0,0.25,10.0]}'}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-python",children:"weight_arr = np.array(weight_ser)\nweight_arr\n"})}),"\n",(0,t.jsx)(n.p,{children:"array([40. , 15. , 20. , 80. , 25. , 1. , 0.25])"}),"\n",(0,t.jsx)("p",{children:(0,t.jsx)("strong",{children:"bpd.Index to Array"})}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-python",children:"pets_idx = pets.set_index('ID').index\npets_idx\n"})}),"\n",(0,t.jsx)(n.p,{children:"Index(['dog_001', 'cat_001', 'cat_002', 'dog_002', 'dog_003', 'ham_001', 'ham_002', 'cat_003'], dtype='object', name='ID')"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-python",children:"#df.index to array\npets_idx_arr = np.array(pets.set_index('ID').index)\npets_idx_arr\n"})}),"\n",(0,t.jsx)(n.p,{children:"array(['dog_001', 'cat_001', 'cat_002', 'dog_002', 'dog_003', 'ham_001', 'ham_002', 'cat_003'], dtype=object)"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-python",children:"pets_cols = pets.columns\npet_cols\n"})}),"\n",(0,t.jsx)(n.p,{children:"Index(['ID', 'Species', 'Color', 'Weight', 'Age', 'Is_Cat', 'Owner_Comment'], dtype='object')"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-python",children:"#df.columns to array\npets_cols_arr = np.array(pets.columns)\npet_cols_arr\n"})}),"\n",(0,t.jsx)(n.p,{children:"array(['ID', 'Species', 'Color', 'Weight', 'Age', 'Is_Cat',\n'Owner_Comment'], dtype=object)"}),"\n",(0,t.jsx)("p",{children:(0,t.jsx)("strong",{children:"List to Array"})}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-python",children:'pets_list = ["dog", "cat", "hamster", "cat", "cat", "dog", "dog", "hamster", "hamster"]\npet_list\n'})}),"\n",(0,t.jsx)(n.p,{children:'["dog", "cat", "hamster", "cat", "cat", "dog", "dog", "hamster", "hamster"]'}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-python",children:"pets_list_arr = np.array(pets_list)\npet_list_arr\n"})}),"\n",(0,t.jsx)(n.p,{children:'array(["dog", "cat", "hamster", "cat", "cat", "dog", "dog", "hamster", "hamster"], dtype=object)'})]})}function h(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(p,{...e})}):p(e)}},8597:(e,n,r)=>{r.d(n,{A:()=>a});r(6540);var t=r(4848);const a=e=>{let{data:n}=e,r=[],a=[],s="",c=[];if(n){const e=JSON.parse(n);r=e.columns||[],a=e.data||[],s=e.indexName||"Index",c=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:s})," ",r.map(((e,n)=>(0,t.jsx)("th",{children:e},n)))]})}),(0,t.jsx)("tbody",{children:a.map(((e,n)=>(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"index-value",children:c[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)))})]})})}},8205:(e,n,r)=>{r.d(n,{A:()=>a});r(6540);var t=r(4848);const a=e=>{let{data:n}=e,r=[],a=[],s="",c="";if(n)try{const e=JSON.parse(n);s=e.name||"",c=e.dtype||"Unknown type",r=e.index||[],a=e.data||[]}catch(i){console.error("Error parsing data prop in SeriesComponent:",i)}const d=a.map((e=>JSON.stringify(e)));return(0,t.jsxs)("div",{className:"series-container",children:[(0,t.jsx)("ul",{className:"series-list",children:d.map(((e,n)=>(0,t.jsxs)("li",{className:"series-item",children:[(0,t.jsx)("span",{className:"series-index",children:r[n]}),(0,t.jsx)("span",{className:"series-value",children:"true"===e||"false"===e?e.charAt(0).toUpperCase()+e.slice(1):e})]},n)))}),(0,t.jsxs)("div",{className:"series-footer",children:["Name: ",s,", dtype: ",c]})]})}},8453:(e,n,r)=>{r.d(n,{R:()=>c,x:()=>d});var t=r(6540);const a={},s=t.createContext(a);function c(e){const n=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:c(e.components),t.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.ab67592f.js b/assets/js/runtime~main.7da29280.js similarity index 99% rename from assets/js/runtime~main.ab67592f.js rename to assets/js/runtime~main.7da29280.js index 45844944..1f9950b1 100644 --- a/assets/js/runtime~main.ab67592f.js +++ b/assets/js/runtime~main.7da29280.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,f,c,b,d={},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 d[e].call(f.exports,f,f.exports,t),f.loaded=!0,f.exports}t.m=d,t.c=r,e=[],t.O=(a,f,c,b)=>{if(!f){var d=1/0;for(i=0;i=b)&&Object.keys(t.O).every((e=>t.O[e](f[o])))?f.splice(o--,1):(r=!1,b0&&e[i-1][2]>b;i--)e[i]=e[i-1];e[i]=[f,c,b]},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 b=Object.create(null);t.r(b);var d={};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=>d[a]=()=>e[a]));return d.default=()=>e,t.d(b,d),b},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/"+({94:"81322b72",186:"2869c049",614:"f2b0891e",675:"82ff9878",719:"9ac7dbcc",1607:"faf9f7da",1614:"e10a9913",1746:"a278cdf6",1903:"9e7aae35",1944:"b0c30e46",1972:"73664a40",1979:"b69909d7",2087:"f0fd5c00",2105:"dd3b6db1",2284:"6e05dac9",2302:"499d47b2",2334:"65beeb93",2441:"9e1896f0",2491:"acb40918",2634:"c4f5d8e4",2646:"0c6397b1",2711:"9e4087bc",2720:"10f7d562",2808:"f0994678",2917:"dfefbedb",3237:"2be9118b",3249:"ccc49370",3279:"1fc0ff79",3342:"f9684ee2",3343:"f3b65525",3362:"f39390d7",3484:"c94468d5",3508:"202baea0",3637:"f4f34a3a",3694:"8717b14a",3782:"6e7a31fd",3870:"37002ad4",3890:"c0329710",4134:"393be207",4284:"acecf23e",4469:"6a26c916",4551:"907d0c45",4567:"655190df",4594:"62efbc4a",4638:"9746c0ef",4812:"739bf370",4813:"6875c492",4833:"dcbe5aac",4929:"b78139e1",4932:"6b67e948",5007:"e06ba05c",5296:"14acb028",5391:"cd451366",5427:"956f17b0",5443:"add9b02f",5480:"09399a2b",5521:"38b2e376",5557:"d9f32620",5579:"46ccc97a",5589:"ea885f1b",5622:"5d6a2894",5743:"231a3aa4",5745:"8d40581b",5980:"6e2ca103",6061:"1f391b9e",6077:"ffbcff43",6090:"3f791b14",6280:"5ddb68ca",6363:"2141c98b",6690:"920988e2",6730:"b7ff327f",6747:"f4434bba",6925:"ecad1ce6",6969:"14eb3368",7069:"2efbf384",7098:"a7bd4aaa",7174:"a4805c9a",7326:"03f8d3d3",7472:"814f3328",7489:"fe41946a",7643:"a6aa9e1f",7661:"26533384",7680:"cdae2dcc",7801:"4d66651f",8048:"53c36146",8065:"80770d40",8104:"d3196d0d",8209:"01a85c17",8241:"de98ccb0",8401:"17896441",8405:"6d7cf8c9",8559:"3349ad3a",8581:"935f2afb",8609:"925b3f96",8737:"7661071f",8857:"0708938a",9048:"a94703ab",9325:"59362658",9328:"e273c56f",9572:"8c496670",9600:"eaaf288f",9647:"5e95c892",9797:"85bbc213",9933:"9c6685b1",9938:"3eb51302"}[e]||e)+"."+{94:"78b1db0a",186:"7590b2dd",614:"048301e5",675:"10ca5d81",719:"d52caad8",1607:"a670a186",1614:"b87367c0",1746:"53583549",1903:"af9e1878",1944:"a08dca95",1972:"6864c464",1979:"bdff3096",2087:"8933f818",2105:"a149b002",2237:"e9544c0b",2284:"b5dd4cf0",2302:"d042e822",2334:"a56d1c95",2441:"61928a5c",2491:"caecc8a9",2634:"3db290d2",2646:"4c026ca7",2711:"4f5138d5",2720:"3bcce74f",2808:"4823aec6",2917:"83e27a65",3237:"cd805d9e",3242:"72fbb86d",3249:"12efda39",3279:"911ec3d3",3342:"c2e684e4",3343:"719dd582",3362:"b9f305bd",3484:"34120c09",3508:"ddb7a41c",3637:"b17e442f",3694:"5454028b",3782:"6161e578",3870:"3f5ea7f5",3890:"e1653246",4134:"6cb884a7",4284:"6510b036",4469:"069563c9",4551:"04bf410e",4567:"bff95447",4594:"c4712dd8",4638:"eef12492",4812:"91f704d4",4813:"aed177af",4833:"6e902e9f",4929:"2fae17e5",4932:"0e1c3290",5007:"2fc679a2",5296:"24498de4",5391:"27038027",5427:"95f66799",5443:"bf2acfd8",5480:"c91de645",5521:"3d83e140",5557:"9fd27735",5579:"5d2f6d9b",5589:"9a7123df",5622:"a2e7f326",5743:"bb1b0a14",5745:"eccfa2f7",5980:"f0209c61",6061:"4931dd9a",6077:"c295e721",6090:"b9ac0f71",6264:"ae06de1c",6280:"a7a71273",6363:"9e32e9e4",6690:"8dc4406f",6730:"7cd54f42",6747:"22cd60a3",6925:"45e66795",6969:"9e5192b3",7069:"d8e79b3d",7098:"89c24f1c",7174:"6aea2edf",7326:"fe5eff0d",7472:"2a71da77",7489:"18cc98cc",7643:"d5e01cc6",7661:"ca180336",7680:"a7df82e3",7801:"cb4391c7",8048:"27f49b25",8065:"b574cc7d",8104:"f6fd0146",8209:"8b130ac7",8241:"2ee3d21d",8401:"114748a5",8405:"81b437c0",8559:"33a087db",8581:"62d62602",8609:"cba4ee15",8737:"8c73ff37",8857:"f003c0df",9048:"f1dfcffe",9325:"777bc4c6",9328:"f95f7890",9572:"94310dc7",9600:"4ffa00eb",9647:"95974c14",9797:"59604264",9933:"77d25a1f",9938:"1a0ebd3d"}[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={},b="bpd-reference:",t.l=(e,a,f,d)=>{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 b=c[e];if(delete c[e],r.parentNode&&r.parentNode.removeChild(r),b&&b.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",26533384:"7661",59362658:"9325","81322b72":"94","2869c049":"186",f2b0891e:"614","82ff9878":"675","9ac7dbcc":"719",faf9f7da:"1607",e10a9913:"1614",a278cdf6:"1746","9e7aae35":"1903",b0c30e46:"1944","73664a40":"1972",b69909d7:"1979",f0fd5c00:"2087",dd3b6db1:"2105","6e05dac9":"2284","499d47b2":"2302","65beeb93":"2334","9e1896f0":"2441",acb40918:"2491",c4f5d8e4:"2634","0c6397b1":"2646","9e4087bc":"2711","10f7d562":"2720",f0994678:"2808",dfefbedb:"2917","2be9118b":"3237",ccc49370:"3249","1fc0ff79":"3279",f9684ee2:"3342",f3b65525:"3343",f39390d7:"3362",c94468d5:"3484","202baea0":"3508",f4f34a3a:"3637","8717b14a":"3694","6e7a31fd":"3782","37002ad4":"3870",c0329710:"3890","393be207":"4134",acecf23e:"4284","6a26c916":"4469","907d0c45":"4551","655190df":"4567","62efbc4a":"4594","9746c0ef":"4638","739bf370":"4812","6875c492":"4813",dcbe5aac:"4833",b78139e1:"4929","6b67e948":"4932",e06ba05c:"5007","14acb028":"5296",cd451366:"5391","956f17b0":"5427",add9b02f:"5443","09399a2b":"5480","38b2e376":"5521",d9f32620:"5557","46ccc97a":"5579",ea885f1b:"5589","5d6a2894":"5622","231a3aa4":"5743","8d40581b":"5745","6e2ca103":"5980","1f391b9e":"6061",ffbcff43:"6077","3f791b14":"6090","5ddb68ca":"6280","2141c98b":"6363","920988e2":"6690",b7ff327f:"6730",f4434bba:"6747",ecad1ce6:"6925","14eb3368":"6969","2efbf384":"7069",a7bd4aaa:"7098",a4805c9a:"7174","03f8d3d3":"7326","814f3328":"7472",fe41946a:"7489",a6aa9e1f:"7643",cdae2dcc:"7680","4d66651f":"7801","53c36146":"8048","80770d40":"8065",d3196d0d:"8104","01a85c17":"8209",de98ccb0:"8241","6d7cf8c9":"8405","3349ad3a":"8559","935f2afb":"8581","925b3f96":"8609","7661071f":"8737","0708938a":"8857",a94703ab:"9048",e273c56f:"9328","8c496670":"9572",eaaf288f:"9600","5e95c892":"9647","85bbc213":"9797","9c6685b1":"9933","3eb51302":"9938"}[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 b=new Promise(((f,b)=>c=e[a]=[f,b]));f.push(c[2]=b);var d=t.p+t.u(a),r=new Error;t.l(d,(f=>{if(t.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var b=f&&("load"===f.type?"missing":f.type),d=f&&f.target&&f.target.src;r.message="Loading chunk "+a+" failed.\n("+b+": "+d+")",r.name="ChunkLoadError",r.type=b,r.request=d,c[1](r)}}),"chunk-"+a,a)}},t.O.j=a=>0===e[a];var a=(a,f)=>{var c,b,d=f[0],r=f[1],o=f[2],n=0;if(d.some((a=>0!==e[a]))){for(c in r)t.o(r,c)&&(t.m[c]=r[c]);if(o)var i=o(t)}for(a&&a(f);n{"use strict";var e,a,f,c,b,d={},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 d[e].call(f.exports,f,f.exports,t),f.loaded=!0,f.exports}t.m=d,t.c=r,e=[],t.O=(a,f,c,b)=>{if(!f){var d=1/0;for(i=0;i=b)&&Object.keys(t.O).every((e=>t.O[e](f[o])))?f.splice(o--,1):(r=!1,b0&&e[i-1][2]>b;i--)e[i]=e[i-1];e[i]=[f,c,b]},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 b=Object.create(null);t.r(b);var d={};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=>d[a]=()=>e[a]));return d.default=()=>e,t.d(b,d),b},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/"+({94:"81322b72",186:"2869c049",614:"f2b0891e",675:"82ff9878",719:"9ac7dbcc",1607:"faf9f7da",1614:"e10a9913",1746:"a278cdf6",1903:"9e7aae35",1944:"b0c30e46",1972:"73664a40",1979:"b69909d7",2087:"f0fd5c00",2105:"dd3b6db1",2284:"6e05dac9",2302:"499d47b2",2334:"65beeb93",2441:"9e1896f0",2491:"acb40918",2634:"c4f5d8e4",2646:"0c6397b1",2711:"9e4087bc",2720:"10f7d562",2808:"f0994678",2917:"dfefbedb",3237:"2be9118b",3249:"ccc49370",3279:"1fc0ff79",3342:"f9684ee2",3343:"f3b65525",3362:"f39390d7",3484:"c94468d5",3508:"202baea0",3637:"f4f34a3a",3694:"8717b14a",3782:"6e7a31fd",3870:"37002ad4",3890:"c0329710",4134:"393be207",4284:"acecf23e",4469:"6a26c916",4551:"907d0c45",4567:"655190df",4594:"62efbc4a",4638:"9746c0ef",4812:"739bf370",4813:"6875c492",4833:"dcbe5aac",4929:"b78139e1",4932:"6b67e948",5007:"e06ba05c",5296:"14acb028",5391:"cd451366",5427:"956f17b0",5443:"add9b02f",5480:"09399a2b",5521:"38b2e376",5557:"d9f32620",5579:"46ccc97a",5589:"ea885f1b",5622:"5d6a2894",5743:"231a3aa4",5745:"8d40581b",5980:"6e2ca103",6061:"1f391b9e",6077:"ffbcff43",6090:"3f791b14",6280:"5ddb68ca",6363:"2141c98b",6690:"920988e2",6730:"b7ff327f",6747:"f4434bba",6925:"ecad1ce6",6969:"14eb3368",7069:"2efbf384",7098:"a7bd4aaa",7174:"a4805c9a",7326:"03f8d3d3",7472:"814f3328",7489:"fe41946a",7643:"a6aa9e1f",7661:"26533384",7680:"cdae2dcc",7801:"4d66651f",8048:"53c36146",8065:"80770d40",8104:"d3196d0d",8209:"01a85c17",8241:"de98ccb0",8401:"17896441",8405:"6d7cf8c9",8559:"3349ad3a",8581:"935f2afb",8609:"925b3f96",8737:"7661071f",8857:"0708938a",9048:"a94703ab",9325:"59362658",9328:"e273c56f",9572:"8c496670",9600:"eaaf288f",9647:"5e95c892",9797:"85bbc213",9933:"9c6685b1",9938:"3eb51302"}[e]||e)+"."+{94:"78b1db0a",186:"7590b2dd",614:"048301e5",675:"10ca5d81",719:"d52caad8",1607:"a670a186",1614:"b87367c0",1746:"53583549",1903:"af9e1878",1944:"a08dca95",1972:"6864c464",1979:"bdff3096",2087:"8933f818",2105:"a149b002",2237:"e9544c0b",2284:"b5dd4cf0",2302:"d042e822",2334:"a56d1c95",2441:"61928a5c",2491:"caecc8a9",2634:"3db290d2",2646:"4c026ca7",2711:"4f5138d5",2720:"3bcce74f",2808:"4823aec6",2917:"83e27a65",3237:"cd805d9e",3242:"72fbb86d",3249:"12efda39",3279:"911ec3d3",3342:"c2e684e4",3343:"719dd582",3362:"b9f305bd",3484:"34120c09",3508:"ddb7a41c",3637:"b17e442f",3694:"5454028b",3782:"6161e578",3870:"3f5ea7f5",3890:"e1653246",4134:"6cb884a7",4284:"6510b036",4469:"069563c9",4551:"04bf410e",4567:"bff95447",4594:"c4712dd8",4638:"eef12492",4812:"91f704d4",4813:"aed177af",4833:"6e902e9f",4929:"2fae17e5",4932:"0e1c3290",5007:"2fc679a2",5296:"24498de4",5391:"27038027",5427:"95f66799",5443:"bf2acfd8",5480:"c91de645",5521:"3d83e140",5557:"9fd27735",5579:"5d2f6d9b",5589:"9a7123df",5622:"a2e7f326",5743:"bb1b0a14",5745:"eccfa2f7",5980:"f0209c61",6061:"4931dd9a",6077:"c295e721",6090:"b9ac0f71",6264:"ae06de1c",6280:"a7a71273",6363:"9e32e9e4",6690:"8dc4406f",6730:"7cd54f42",6747:"22cd60a3",6925:"45e66795",6969:"9e5192b3",7069:"d8e79b3d",7098:"89c24f1c",7174:"6aea2edf",7326:"fe5eff0d",7472:"2a71da77",7489:"98d354f9",7643:"d5e01cc6",7661:"ca180336",7680:"a7df82e3",7801:"cb4391c7",8048:"27f49b25",8065:"b574cc7d",8104:"f6fd0146",8209:"8b130ac7",8241:"2ee3d21d",8401:"114748a5",8405:"81b437c0",8559:"33a087db",8581:"62d62602",8609:"cba4ee15",8737:"8c73ff37",8857:"f003c0df",9048:"f1dfcffe",9325:"777bc4c6",9328:"f95f7890",9572:"94310dc7",9600:"4ffa00eb",9647:"95974c14",9797:"59604264",9933:"77d25a1f",9938:"1a0ebd3d"}[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={},b="bpd-reference:",t.l=(e,a,f,d)=>{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 b=c[e];if(delete c[e],r.parentNode&&r.parentNode.removeChild(r),b&&b.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",26533384:"7661",59362658:"9325","81322b72":"94","2869c049":"186",f2b0891e:"614","82ff9878":"675","9ac7dbcc":"719",faf9f7da:"1607",e10a9913:"1614",a278cdf6:"1746","9e7aae35":"1903",b0c30e46:"1944","73664a40":"1972",b69909d7:"1979",f0fd5c00:"2087",dd3b6db1:"2105","6e05dac9":"2284","499d47b2":"2302","65beeb93":"2334","9e1896f0":"2441",acb40918:"2491",c4f5d8e4:"2634","0c6397b1":"2646","9e4087bc":"2711","10f7d562":"2720",f0994678:"2808",dfefbedb:"2917","2be9118b":"3237",ccc49370:"3249","1fc0ff79":"3279",f9684ee2:"3342",f3b65525:"3343",f39390d7:"3362",c94468d5:"3484","202baea0":"3508",f4f34a3a:"3637","8717b14a":"3694","6e7a31fd":"3782","37002ad4":"3870",c0329710:"3890","393be207":"4134",acecf23e:"4284","6a26c916":"4469","907d0c45":"4551","655190df":"4567","62efbc4a":"4594","9746c0ef":"4638","739bf370":"4812","6875c492":"4813",dcbe5aac:"4833",b78139e1:"4929","6b67e948":"4932",e06ba05c:"5007","14acb028":"5296",cd451366:"5391","956f17b0":"5427",add9b02f:"5443","09399a2b":"5480","38b2e376":"5521",d9f32620:"5557","46ccc97a":"5579",ea885f1b:"5589","5d6a2894":"5622","231a3aa4":"5743","8d40581b":"5745","6e2ca103":"5980","1f391b9e":"6061",ffbcff43:"6077","3f791b14":"6090","5ddb68ca":"6280","2141c98b":"6363","920988e2":"6690",b7ff327f:"6730",f4434bba:"6747",ecad1ce6:"6925","14eb3368":"6969","2efbf384":"7069",a7bd4aaa:"7098",a4805c9a:"7174","03f8d3d3":"7326","814f3328":"7472",fe41946a:"7489",a6aa9e1f:"7643",cdae2dcc:"7680","4d66651f":"7801","53c36146":"8048","80770d40":"8065",d3196d0d:"8104","01a85c17":"8209",de98ccb0:"8241","6d7cf8c9":"8405","3349ad3a":"8559","935f2afb":"8581","925b3f96":"8609","7661071f":"8737","0708938a":"8857",a94703ab:"9048",e273c56f:"9328","8c496670":"9572",eaaf288f:"9600","5e95c892":"9647","85bbc213":"9797","9c6685b1":"9933","3eb51302":"9938"}[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 b=new Promise(((f,b)=>c=e[a]=[f,b]));f.push(c[2]=b);var d=t.p+t.u(a),r=new Error;t.l(d,(f=>{if(t.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var b=f&&("load"===f.type?"missing":f.type),d=f&&f.target&&f.target.src;r.message="Loading chunk "+a+" failed.\n("+b+": "+d+")",r.name="ChunkLoadError",r.type=b,r.request=d,c[1](r)}}),"chunk-"+a,a)}},t.O.j=a=>0===e[a];var a=(a,f)=>{var c,b,d=f[0],r=f[1],o=f[2],n=0;if(d.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 c4de492d..6f3d326d 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 43f99f12..eb458c9f 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 37e54dd4..760c991d 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 8b3f7cef..bcb2d951 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 df985bb1..9ca0accc 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 7a69a368..a2cf0f88 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 ccb4c40e..04e7a77a 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 19106ac0..5da181f8 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 49d2cb76..fb831aa1 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 91e29024..3285b10a 100644 --- a/blog/welcome/index.html +++ b/blog/welcome/index.html @@ -5,7 +5,7 @@ Welcome | bpd - + diff --git a/docs/category/arrays-and-numpy/index.html b/docs/category/arrays-and-numpy/index.html index 881191dd..b8aad44d 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/data-format-conversion/index.html b/docs/category/data-format-conversion/index.html index ddf6bce8..b11c6c97 100644 --- a/docs/category/data-format-conversion/index.html +++ b/docs/category/data-format-conversion/index.html @@ -5,7 +5,7 @@ Data Format Conversion | bpd - + diff --git a/docs/category/if-statements/index.html b/docs/category/if-statements/index.html index 45e7c20e..e9c8467d 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 dbdb6209..c21f3ade 100644 --- a/docs/category/plotting/index.html +++ b/docs/category/plotting/index.html @@ -5,7 +5,7 @@ Plotting | bpd - + diff --git a/docs/category/querying/index.html b/docs/category/querying/index.html index f8cb28fa..79e3b196 100644 --- a/docs/category/querying/index.html +++ b/docs/category/querying/index.html @@ -5,7 +5,7 @@ Querying | bpd - + diff --git a/docs/documentation/Functions/Applying Functions/index.html b/docs/documentation/Functions/Applying Functions/index.html index 4fc06fb6..c63408f6 100644 --- a/docs/documentation/Functions/Applying Functions/index.html +++ b/docs/documentation/Functions/Applying Functions/index.html @@ -5,7 +5,7 @@ Applying Functions | bpd - + diff --git a/docs/documentation/Functions/Writing Functions/index.html b/docs/documentation/Functions/Writing Functions/index.html index 8074b9dd..b6607981 100644 --- a/docs/documentation/Functions/Writing Functions/index.html +++ b/docs/documentation/Functions/Writing Functions/index.html @@ -5,7 +5,7 @@ Writing Functions | bpd - + diff --git a/docs/documentation/Grouping/aggregation/count()/index.html b/docs/documentation/Grouping/aggregation/count()/index.html index 89aa6d6c..5a97cf27 100644 --- a/docs/documentation/Grouping/aggregation/count()/index.html +++ b/docs/documentation/Grouping/aggregation/count()/index.html @@ -5,7 +5,7 @@ count() | bpd - + diff --git a/docs/documentation/Grouping/aggregation/max()/index.html b/docs/documentation/Grouping/aggregation/max()/index.html index 80602795..a99f6495 100644 --- a/docs/documentation/Grouping/aggregation/max()/index.html +++ b/docs/documentation/Grouping/aggregation/max()/index.html @@ -5,7 +5,7 @@ max() | bpd - + diff --git a/docs/documentation/Grouping/aggregation/mean()/index.html b/docs/documentation/Grouping/aggregation/mean()/index.html index 109a396a..b0716521 100644 --- a/docs/documentation/Grouping/aggregation/mean()/index.html +++ b/docs/documentation/Grouping/aggregation/mean()/index.html @@ -5,7 +5,7 @@ mean() | bpd - + diff --git a/docs/documentation/Grouping/aggregation/median()/index.html b/docs/documentation/Grouping/aggregation/median()/index.html index d10f506d..53fb49fe 100644 --- a/docs/documentation/Grouping/aggregation/median()/index.html +++ b/docs/documentation/Grouping/aggregation/median()/index.html @@ -5,7 +5,7 @@ median() | bpd - + diff --git a/docs/documentation/Grouping/aggregation/min()/index.html b/docs/documentation/Grouping/aggregation/min()/index.html index c76a45fb..318057b8 100644 --- a/docs/documentation/Grouping/aggregation/min()/index.html +++ b/docs/documentation/Grouping/aggregation/min()/index.html @@ -5,7 +5,7 @@ min() | bpd - + diff --git a/docs/documentation/Grouping/aggregation/sum()/index.html b/docs/documentation/Grouping/aggregation/sum()/index.html index 0a9f6da2..1455dd75 100644 --- a/docs/documentation/Grouping/aggregation/sum()/index.html +++ b/docs/documentation/Grouping/aggregation/sum()/index.html @@ -5,7 +5,7 @@ sum() | bpd - + diff --git a/docs/documentation/Grouping/groupby/index.html b/docs/documentation/Grouping/groupby/index.html index 0785d5f4..47410e0c 100644 --- a/docs/documentation/Grouping/groupby/index.html +++ b/docs/documentation/Grouping/groupby/index.html @@ -5,7 +5,7 @@ groupby | bpd - + diff --git a/docs/documentation/accessing-data/df.columns/index.html b/docs/documentation/accessing-data/df.columns/index.html index 16745d73..ea886e86 100644 --- a/docs/documentation/accessing-data/df.columns/index.html +++ b/docs/documentation/accessing-data/df.columns/index.html @@ -5,7 +5,7 @@ df.columns | bpd - + diff --git a/docs/documentation/accessing-data/df.get()/index.html b/docs/documentation/accessing-data/df.get()/index.html index 7af05e8a..f915bc38 100644 --- a/docs/documentation/accessing-data/df.get()/index.html +++ b/docs/documentation/accessing-data/df.get()/index.html @@ -5,7 +5,7 @@ df.get() | bpd - + diff --git a/docs/documentation/accessing-data/df.index/index.html b/docs/documentation/accessing-data/df.index/index.html index c20c4073..c4623b75 100644 --- a/docs/documentation/accessing-data/df.index/index.html +++ b/docs/documentation/accessing-data/df.index/index.html @@ -5,7 +5,7 @@ df.index | bpd - + diff --git a/docs/documentation/accessing-data/df.shape/index.html b/docs/documentation/accessing-data/df.shape/index.html index 9ec6585e..c56674fa 100644 --- a/docs/documentation/accessing-data/df.shape/index.html +++ b/docs/documentation/accessing-data/df.shape/index.html @@ -5,7 +5,7 @@ df.shape | bpd - + diff --git a/docs/documentation/accessing-data/df.take()/index.html b/docs/documentation/accessing-data/df.take()/index.html index a3de28d3..d3114a62 100644 --- a/docs/documentation/accessing-data/df.take()/index.html +++ b/docs/documentation/accessing-data/df.take()/index.html @@ -5,7 +5,7 @@ df.take() | bpd - + diff --git a/docs/documentation/accessing-data/index.html b/docs/documentation/accessing-data/index.html index f3e46316..ea3c896a 100644 --- a/docs/documentation/accessing-data/index.html +++ b/docs/documentation/accessing-data/index.html @@ -5,7 +5,7 @@ Accessing Data | bpd - + diff --git a/docs/documentation/accessing-data/ser.iloc[]/index.html b/docs/documentation/accessing-data/ser.iloc[]/index.html index d733ddd6..1d3fbd41 100644 --- a/docs/documentation/accessing-data/ser.iloc[]/index.html +++ b/docs/documentation/accessing-data/ser.iloc[]/index.html @@ -5,7 +5,7 @@ ser.iloc[] | bpd - + diff --git a/docs/documentation/accessing-data/ser.loc[]/index.html b/docs/documentation/accessing-data/ser.loc[]/index.html index 9707f56a..df03ed7e 100644 --- a/docs/documentation/accessing-data/ser.loc[]/index.html +++ b/docs/documentation/accessing-data/ser.loc[]/index.html @@ -5,7 +5,7 @@ ser.loc[] | bpd - + diff --git a/docs/documentation/arrays-and-numpy/arr[]/index.html b/docs/documentation/arrays-and-numpy/arr[]/index.html index bd155320..95080e73 100644 --- a/docs/documentation/arrays-and-numpy/arr[]/index.html +++ b/docs/documentation/arrays-and-numpy/arr[]/index.html @@ -5,7 +5,7 @@ arr[] | bpd - + diff --git a/docs/documentation/arrays-and-numpy/np.append()/index.html b/docs/documentation/arrays-and-numpy/np.append()/index.html index 1c227cf3..373bf6d1 100644 --- a/docs/documentation/arrays-and-numpy/np.append()/index.html +++ b/docs/documentation/arrays-and-numpy/np.append()/index.html @@ -5,7 +5,7 @@ np.append() | bpd - + diff --git a/docs/documentation/arrays-and-numpy/np.arange()/index.html b/docs/documentation/arrays-and-numpy/np.arange()/index.html index 68f8c1f8..78147dd8 100644 --- a/docs/documentation/arrays-and-numpy/np.arange()/index.html +++ b/docs/documentation/arrays-and-numpy/np.arange()/index.html @@ -5,7 +5,7 @@ np.arange() | bpd - + diff --git a/docs/documentation/arrays-and-numpy/np.count_nonzero()/index.html b/docs/documentation/arrays-and-numpy/np.count_nonzero()/index.html index ea6b7830..03c7d892 100644 --- a/docs/documentation/arrays-and-numpy/np.count_nonzero()/index.html +++ b/docs/documentation/arrays-and-numpy/np.count_nonzero()/index.html @@ -5,7 +5,7 @@ np.count_nonzero() | bpd - + diff --git a/docs/documentation/arrays-and-numpy/np.percentile()/index.html b/docs/documentation/arrays-and-numpy/np.percentile()/index.html index c060d938..1f10caa9 100644 --- a/docs/documentation/arrays-and-numpy/np.percentile()/index.html +++ b/docs/documentation/arrays-and-numpy/np.percentile()/index.html @@ -5,7 +5,7 @@ np.percentile() | bpd - + diff --git a/docs/documentation/arrays-and-numpy/np.round()/index.html b/docs/documentation/arrays-and-numpy/np.round()/index.html index 8476f7d6..c9d65041 100644 --- a/docs/documentation/arrays-and-numpy/np.round()/index.html +++ b/docs/documentation/arrays-and-numpy/np.round()/index.html @@ -5,7 +5,7 @@ np.round() | bpd - + diff --git a/docs/documentation/building-organizing/bpd.DataFrame()/index.html b/docs/documentation/building-organizing/bpd.DataFrame()/index.html index 92054490..4b658592 100644 --- a/docs/documentation/building-organizing/bpd.DataFrame()/index.html +++ b/docs/documentation/building-organizing/bpd.DataFrame()/index.html @@ -5,7 +5,7 @@ bpd.DataFrame() | bpd - + diff --git a/docs/documentation/building-organizing/bpd.read_csv()/index.html b/docs/documentation/building-organizing/bpd.read_csv()/index.html index 3ccc868b..10f62987 100644 --- a/docs/documentation/building-organizing/bpd.read_csv()/index.html +++ b/docs/documentation/building-organizing/bpd.read_csv()/index.html @@ -5,7 +5,7 @@ bpd.read_csv() | bpd - + diff --git a/docs/documentation/building-organizing/df.assign()/index.html b/docs/documentation/building-organizing/df.assign()/index.html index 4e696807..d1305c70 100644 --- a/docs/documentation/building-organizing/df.assign()/index.html +++ b/docs/documentation/building-organizing/df.assign()/index.html @@ -5,7 +5,7 @@ df.assign() | bpd - + diff --git a/docs/documentation/building-organizing/df.drop()/index.html b/docs/documentation/building-organizing/df.drop()/index.html index 1b6149ec..cd8213f4 100644 --- a/docs/documentation/building-organizing/df.drop()/index.html +++ b/docs/documentation/building-organizing/df.drop()/index.html @@ -5,7 +5,7 @@ df.drop() | bpd - + diff --git a/docs/documentation/building-organizing/df.merge()/index.html b/docs/documentation/building-organizing/df.merge()/index.html index 0e82acd4..db1f6a3d 100644 --- a/docs/documentation/building-organizing/df.merge()/index.html +++ b/docs/documentation/building-organizing/df.merge()/index.html @@ -5,7 +5,7 @@ df.merge() | bpd - + diff --git a/docs/documentation/building-organizing/df.reset_index()/index.html b/docs/documentation/building-organizing/df.reset_index()/index.html index 87713a7c..39048496 100644 --- a/docs/documentation/building-organizing/df.reset_index()/index.html +++ b/docs/documentation/building-organizing/df.reset_index()/index.html @@ -5,7 +5,7 @@ df.reset_index() | bpd - + diff --git a/docs/documentation/building-organizing/df.set_index()/index.html b/docs/documentation/building-organizing/df.set_index()/index.html index 42ff4bf8..0d8067c2 100644 --- a/docs/documentation/building-organizing/df.set_index()/index.html +++ b/docs/documentation/building-organizing/df.set_index()/index.html @@ -5,7 +5,7 @@ df.set_index() | bpd - + diff --git a/docs/documentation/building-organizing/df.sort_values()/index.html b/docs/documentation/building-organizing/df.sort_values()/index.html index f69119dd..8584cd21 100644 --- a/docs/documentation/building-organizing/df.sort_values()/index.html +++ b/docs/documentation/building-organizing/df.sort_values()/index.html @@ -5,7 +5,7 @@ df.sort_values() | bpd - + diff --git a/docs/documentation/building-organizing/index.html b/docs/documentation/building-organizing/index.html index ba900841..cd42aa23 100644 --- a/docs/documentation/building-organizing/index.html +++ b/docs/documentation/building-organizing/index.html @@ -5,7 +5,7 @@ Building and Organizing DataFrames | bpd - + diff --git a/docs/documentation/data format conversion/list()/index.html b/docs/documentation/data format conversion/list()/index.html index 113e0b75..747eb6bd 100644 --- a/docs/documentation/data format conversion/list()/index.html +++ b/docs/documentation/data format conversion/list()/index.html @@ -5,7 +5,7 @@ list() | bpd - + diff --git a/docs/documentation/data format conversion/np.array()/index.html b/docs/documentation/data format conversion/np.array()/index.html index 6fa6fad7..b8102987 100644 --- a/docs/documentation/data format conversion/np.array()/index.html +++ b/docs/documentation/data format conversion/np.array()/index.html @@ -5,22 +5,26 @@ np.array() | bpd - +

np.array()

np.array(input) -

Casts an iterable into a list (bpd.Series, df.columns, and list)

Input:
input : ser, .columns, list
Name of series/.columns/list to cast to an array.
Returns:
df_with_cols - Same input, casted to an array.
Return Type:
Array
+

Casts an iterable (bpd.Series, bpd.Index, and list) into a numpy array

Input:
input : ser, df.index, df.columns, list
Name of series/.columns/list to cast to an array.
Returns:
An array with the same elements as the input.
Return Type:
Array

Series to Array

weight_ser = pets.get('Weight')
weight_ser
  • 040
  • 11.5
  • 215
  • 380
  • 425
  • 51
  • 60.25
  • 710
weight_arr = np.array(weight_ser)
weight_arr

array([40. , 15. , 20. , 80. , 25. , 1. , 0.25])

-

.columns to Array

+

bpd.Index to Array

+
pets_idx = pets.set_index('ID').index
pets_idx
+

Index(['dog_001', 'cat_001', 'cat_002', 'dog_002', 'dog_003', 'ham_001', 'ham_002', 'cat_003'], dtype='object', name='ID')

+
#df.index to array
pets_idx_arr = np.array(pets.set_index('ID').index)
pets_idx_arr
+

array(['dog_001', 'cat_001', 'cat_002', 'dog_002', 'dog_003', 'ham_001', 'ham_002', 'cat_003'], dtype=object)

pets_cols = pets.columns
pet_cols

Index(['ID', 'Species', 'Color', 'Weight', 'Age', 'Is_Cat', 'Owner_Comment'], dtype='object')

-
pets_cols_arr = np.array(pets.columns)
pet_cols_arr
+
#df.columns to array
pets_cols_arr = np.array(pets.columns)
pet_cols_arr

array(['ID', 'Species', 'Color', 'Weight', 'Age', 'Is_Cat', 'Owner_Comment'], dtype=object)

List to Array

diff --git a/docs/documentation/for-loops/index.html b/docs/documentation/for-loops/index.html index 201f1c24..3dac245c 100644 --- a/docs/documentation/for-loops/index.html +++ b/docs/documentation/for-loops/index.html @@ -5,7 +5,7 @@ for-loops | bpd - + diff --git a/docs/documentation/if-statements/Logical Operators/index.html b/docs/documentation/if-statements/Logical Operators/index.html index 2cf85c6e..d87186da 100644 --- a/docs/documentation/if-statements/Logical Operators/index.html +++ b/docs/documentation/if-statements/Logical Operators/index.html @@ -5,7 +5,7 @@ Logical Operators | bpd - + diff --git a/docs/documentation/if-statements/if-elif-else/index.html b/docs/documentation/if-statements/if-elif-else/index.html index 0d78eed9..ca372285 100644 --- a/docs/documentation/if-statements/if-elif-else/index.html +++ b/docs/documentation/if-statements/if-elif-else/index.html @@ -5,7 +5,7 @@ if-elif-else | bpd - + diff --git "a/docs/documentation/if-statements/in \342\201\204 not in/index.html" "b/docs/documentation/if-statements/in \342\201\204 not in/index.html" index 0098b24f..d1009e59 100644 --- "a/docs/documentation/if-statements/in \342\201\204 not in/index.html" +++ "b/docs/documentation/if-statements/in \342\201\204 not in/index.html" @@ -5,7 +5,7 @@ in ⁄ not in | bpd - + diff --git a/docs/documentation/intro/index.html b/docs/documentation/intro/index.html index f091d5d0..ea43cd6d 100644 --- a/docs/documentation/intro/index.html +++ b/docs/documentation/intro/index.html @@ -5,7 +5,7 @@ intro | bpd - + diff --git a/docs/documentation/plotting/Bar Plot/index.html b/docs/documentation/plotting/Bar Plot/index.html index 4df7da71..891a2d8d 100644 --- a/docs/documentation/plotting/Bar Plot/index.html +++ b/docs/documentation/plotting/Bar Plot/index.html @@ -5,7 +5,7 @@ Bar Plot | bpd - + diff --git a/docs/documentation/plotting/Histogram/index.html b/docs/documentation/plotting/Histogram/index.html index 6759c76e..a749a509 100644 --- a/docs/documentation/plotting/Histogram/index.html +++ b/docs/documentation/plotting/Histogram/index.html @@ -5,7 +5,7 @@ Histogram | bpd - + diff --git a/docs/documentation/plotting/Line Plot/index.html b/docs/documentation/plotting/Line Plot/index.html index 770e949e..fa44affe 100644 --- a/docs/documentation/plotting/Line Plot/index.html +++ b/docs/documentation/plotting/Line Plot/index.html @@ -5,7 +5,7 @@ Line Plot | bpd - + diff --git a/docs/documentation/plotting/Scatter Plot/index.html b/docs/documentation/plotting/Scatter Plot/index.html index 2b992d01..dc11f8c6 100644 --- a/docs/documentation/plotting/Scatter Plot/index.html +++ b/docs/documentation/plotting/Scatter Plot/index.html @@ -5,7 +5,7 @@ Scatter Plot | bpd - + diff --git a/docs/documentation/querying/df[]/index.html b/docs/documentation/querying/df[]/index.html index a7785a45..06df6cf3 100644 --- a/docs/documentation/querying/df[]/index.html +++ b/docs/documentation/querying/df[]/index.html @@ -5,7 +5,7 @@ df[] | bpd - + diff --git a/docs/documentation/series-methods/index.html b/docs/documentation/series-methods/index.html index 0cc6ec60..0cffadc9 100644 --- a/docs/documentation/series-methods/index.html +++ b/docs/documentation/series-methods/index.html @@ -5,7 +5,7 @@ Series Methods | bpd - + diff --git a/docs/documentation/series-methods/ser.count()/index.html b/docs/documentation/series-methods/ser.count()/index.html index bb390d36..381c4ae8 100644 --- a/docs/documentation/series-methods/ser.count()/index.html +++ b/docs/documentation/series-methods/ser.count()/index.html @@ -5,7 +5,7 @@ ser.count() | bpd - + diff --git a/docs/documentation/series-methods/ser.max()/index.html b/docs/documentation/series-methods/ser.max()/index.html index 5f0e7c8b..8cc524bb 100644 --- a/docs/documentation/series-methods/ser.max()/index.html +++ b/docs/documentation/series-methods/ser.max()/index.html @@ -5,7 +5,7 @@ ser.max() | bpd - + diff --git a/docs/documentation/series-methods/ser.mean()/index.html b/docs/documentation/series-methods/ser.mean()/index.html index f6cc0ed3..9bee4b12 100644 --- a/docs/documentation/series-methods/ser.mean()/index.html +++ b/docs/documentation/series-methods/ser.mean()/index.html @@ -5,7 +5,7 @@ ser.mean() | bpd - + diff --git a/docs/documentation/series-methods/ser.median()/index.html b/docs/documentation/series-methods/ser.median()/index.html index 613c5081..7422fbe9 100644 --- a/docs/documentation/series-methods/ser.median()/index.html +++ b/docs/documentation/series-methods/ser.median()/index.html @@ -5,7 +5,7 @@ ser.median() | bpd - + diff --git a/docs/documentation/series-methods/ser.min()/index.html b/docs/documentation/series-methods/ser.min()/index.html index 2de42c6b..924d530a 100644 --- a/docs/documentation/series-methods/ser.min()/index.html +++ b/docs/documentation/series-methods/ser.min()/index.html @@ -5,7 +5,7 @@ ser.min() | bpd - + diff --git a/docs/documentation/series-methods/ser.str.capitalize()/index.html b/docs/documentation/series-methods/ser.str.capitalize()/index.html index 08e114a5..6ba1a149 100644 --- a/docs/documentation/series-methods/ser.str.capitalize()/index.html +++ b/docs/documentation/series-methods/ser.str.capitalize()/index.html @@ -5,7 +5,7 @@ ser.str.capitalize() | bpd - + diff --git a/docs/documentation/series-methods/ser.str.contains()/index.html b/docs/documentation/series-methods/ser.str.contains()/index.html index 51755278..c5ff8c26 100644 --- a/docs/documentation/series-methods/ser.str.contains()/index.html +++ b/docs/documentation/series-methods/ser.str.contains()/index.html @@ -5,7 +5,7 @@ ser.str.contains() | bpd - + diff --git a/docs/documentation/series-methods/ser.str.len()/index.html b/docs/documentation/series-methods/ser.str.len()/index.html index 636ecb03..a4e578ec 100644 --- a/docs/documentation/series-methods/ser.str.len()/index.html +++ b/docs/documentation/series-methods/ser.str.len()/index.html @@ -5,7 +5,7 @@ ser.str.len() | bpd - + diff --git a/docs/documentation/series-methods/ser.str.lower()/index.html b/docs/documentation/series-methods/ser.str.lower()/index.html index 1de14437..e22ab79c 100644 --- a/docs/documentation/series-methods/ser.str.lower()/index.html +++ b/docs/documentation/series-methods/ser.str.lower()/index.html @@ -5,7 +5,7 @@ ser.str.lower() | bpd - + diff --git a/docs/documentation/series-methods/ser.str.replace()/index.html b/docs/documentation/series-methods/ser.str.replace()/index.html index 2ac2a148..608cc378 100644 --- a/docs/documentation/series-methods/ser.str.replace()/index.html +++ b/docs/documentation/series-methods/ser.str.replace()/index.html @@ -5,7 +5,7 @@ ser.str.replace() | bpd - + diff --git a/docs/documentation/series-methods/ser.str.split()/index.html b/docs/documentation/series-methods/ser.str.split()/index.html index 49a27577..a92934a2 100644 --- a/docs/documentation/series-methods/ser.str.split()/index.html +++ b/docs/documentation/series-methods/ser.str.split()/index.html @@ -5,7 +5,7 @@ ser.str.split() | bpd - + diff --git a/docs/documentation/series-methods/ser.str.strip()/index.html b/docs/documentation/series-methods/ser.str.strip()/index.html index f6fc04c5..f53ba276 100644 --- a/docs/documentation/series-methods/ser.str.strip()/index.html +++ b/docs/documentation/series-methods/ser.str.strip()/index.html @@ -5,7 +5,7 @@ ser.str.strip() | bpd - + diff --git a/docs/documentation/series-methods/ser.str.title()/index.html b/docs/documentation/series-methods/ser.str.title()/index.html index 9e2adb6f..a24deac2 100644 --- a/docs/documentation/series-methods/ser.str.title()/index.html +++ b/docs/documentation/series-methods/ser.str.title()/index.html @@ -5,7 +5,7 @@ ser.str.title() | bpd - + diff --git a/docs/documentation/series-methods/ser.str.upper()/index.html b/docs/documentation/series-methods/ser.str.upper()/index.html index 1c76bc72..075f3935 100644 --- a/docs/documentation/series-methods/ser.str.upper()/index.html +++ b/docs/documentation/series-methods/ser.str.upper()/index.html @@ -5,7 +5,7 @@ ser.str.upper() | bpd - + diff --git a/docs/documentation/series-methods/ser.sum()/index.html b/docs/documentation/series-methods/ser.sum()/index.html index 524f5e07..31793092 100644 --- a/docs/documentation/series-methods/ser.sum()/index.html +++ b/docs/documentation/series-methods/ser.sum()/index.html @@ -5,7 +5,7 @@ ser.sum() | bpd - + diff --git a/docs/documentation/series-methods/ser.unique()/index.html b/docs/documentation/series-methods/ser.unique()/index.html index f5c80cef..ffab0d34 100644 --- a/docs/documentation/series-methods/ser.unique()/index.html +++ b/docs/documentation/series-methods/ser.unique()/index.html @@ -5,7 +5,7 @@ ser.unique() | bpd - + diff --git a/docs/statistical-inference/intro/index.html b/docs/statistical-inference/intro/index.html index 17849f69..f856b659 100644 --- a/docs/statistical-inference/intro/index.html +++ b/docs/statistical-inference/intro/index.html @@ -5,7 +5,7 @@ intro | bpd - + diff --git a/index.html b/index.html index 482ba7e9..594e5f7e 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 83cb26a7..868a3392 100644 --- a/markdown-page/index.html +++ b/markdown-page/index.html @@ -5,7 +5,7 @@ Markdown page example | bpd - +