From f76221fac3eac574ac70f4f311c3daa724d7ac7d Mon Sep 17 00:00:00 2001 From: Keshav Sharma Date: Sat, 9 Oct 2021 20:28:25 -0700 Subject: [PATCH] Update pandas.ipynb --- 2-Working-With-Data/R/pandas.ipynb | 69 +++++++++++++----------------- 1 file changed, 30 insertions(+), 39 deletions(-) diff --git a/2-Working-With-Data/R/pandas.ipynb b/2-Working-With-Data/R/pandas.ipynb index 323f013..901a51c 100644 --- a/2-Working-With-Data/R/pandas.ipynb +++ b/2-Working-With-Data/R/pandas.ipynb @@ -3,7 +3,7 @@ { "cell_type": "code", "execution_count": 73, - "id": "c105e391", + "id": "f356bf26", "metadata": {}, "outputs": [], "source": [ @@ -13,7 +13,7 @@ }, { "cell_type": "markdown", - "id": "00c41f19", + "id": "717d5825", "metadata": {}, "source": [ "## Series" @@ -21,7 +21,7 @@ }, { "cell_type": "markdown", - "id": "d3490356", + "id": "03ac7b71", "metadata": {}, "source": [ "a<- 1:9" @@ -30,7 +30,7 @@ { "cell_type": "code", "execution_count": 75, - "id": "2ef3725d", + "id": "f4149d4e", "metadata": {}, "outputs": [], "source": [ @@ -40,7 +40,7 @@ { "cell_type": "code", "execution_count": 76, - "id": "14e6152d", + "id": "5633dd5e", "metadata": {}, "outputs": [], "source": [ @@ -51,7 +51,7 @@ { "cell_type": "code", "execution_count": 77, - "id": "432b0c2b", + "id": "834b824d", "metadata": {}, "outputs": [], "source": [ @@ -61,7 +61,7 @@ { "cell_type": "code", "execution_count": 78, - "id": "adb4391f", + "id": "f25cedc2", "metadata": {}, "outputs": [], "source": [ @@ -70,16 +70,7 @@ }, { "cell_type": "markdown", - "id": "9d27aa12", - "metadata": {}, - "source": [ - "idx<- seq.Date(from = as.Date(\"20-01-01\"), to = as.Date(\"2001-03-31\"), by = \"day\",)\n", - "print(length(idx))\n" - ] - }, - { - "cell_type": "markdown", - "id": "ee4be842", + "id": "aea16930", "metadata": {}, "source": [ "## DataFrame" @@ -88,7 +79,7 @@ { "cell_type": "code", "execution_count": 140, - "id": "a8585654", + "id": "0793b3b7", "metadata": {}, "outputs": [], "source": [ @@ -98,7 +89,7 @@ { "cell_type": "code", "execution_count": 141, - "id": "2b8c18b3", + "id": "bde43cd9", "metadata": {}, "outputs": [], "source": [ @@ -108,7 +99,7 @@ { "cell_type": "code", "execution_count": 109, - "id": "60b643d5", + "id": "5db4a116", "metadata": {}, "outputs": [ { @@ -127,7 +118,7 @@ { "cell_type": "code", "execution_count": 79, - "id": "113578b5", + "id": "e5e6313c", "metadata": {}, "outputs": [], "source": [ @@ -137,7 +128,7 @@ { "cell_type": "code", "execution_count": 80, - "id": "ef1dff63", + "id": "8358faeb", "metadata": {}, "outputs": [], "source": [ @@ -151,7 +142,7 @@ { "cell_type": "code", "execution_count": 81, - "id": "1d80bf43", + "id": "c439f0f3", "metadata": {}, "outputs": [ { @@ -234,7 +225,7 @@ { "cell_type": "code", "execution_count": 82, - "id": "831630d7", + "id": "26c75894", "metadata": {}, "outputs": [ { @@ -325,7 +316,7 @@ { "cell_type": "code", "execution_count": 83, - "id": "055bc484", + "id": "7f6885ba", "metadata": {}, "outputs": [ { @@ -388,7 +379,7 @@ { "cell_type": "code", "execution_count": 84, - "id": "05c2c45a", + "id": "0018c9fc", "metadata": {}, "outputs": [ { @@ -439,7 +430,7 @@ { "cell_type": "code", "execution_count": 85, - "id": "ac8a234f", + "id": "079a3b19", "metadata": {}, "outputs": [], "source": [ @@ -449,7 +440,7 @@ { "cell_type": "code", "execution_count": 86, - "id": "fb7ee6bd", + "id": "64dac80e", "metadata": {}, "outputs": [ { @@ -532,7 +523,7 @@ { "cell_type": "code", "execution_count": 87, - "id": "62e9c8dd", + "id": "c2fdab9c", "metadata": {}, "outputs": [], "source": [ @@ -542,7 +533,7 @@ { "cell_type": "code", "execution_count": 88, - "id": "849c33cc", + "id": "c523989b", "metadata": {}, "outputs": [ { @@ -625,7 +616,7 @@ { "cell_type": "code", "execution_count": 89, - "id": "0a65495d", + "id": "c095b403", "metadata": {}, "outputs": [ { @@ -692,7 +683,7 @@ { "cell_type": "code", "execution_count": 91, - "id": "ccebdda2", + "id": "f6f37d10", "metadata": {}, "outputs": [], "source": [ @@ -702,7 +693,7 @@ { "cell_type": "code", "execution_count": 93, - "id": "f2dcb719", + "id": "c1908f62", "metadata": {}, "outputs": [ { @@ -768,7 +759,7 @@ }, { "cell_type": "markdown", - "id": "d8eb00bc", + "id": "f927a466", "metadata": {}, "source": [ "## Printing and Plotting" @@ -777,7 +768,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b96b6be0", + "id": "6e20f11d", "metadata": {}, "outputs": [], "source": [ @@ -787,7 +778,7 @@ { "cell_type": "code", "execution_count": 94, - "id": "3b1a4735", + "id": "6bb554db", "metadata": {}, "outputs": [ { @@ -858,7 +849,7 @@ { "cell_type": "code", "execution_count": 151, - "id": "0af4e0e5", + "id": "14fa8a58", "metadata": {}, "outputs": [ { @@ -884,7 +875,7 @@ { "cell_type": "code", "execution_count": 96, - "id": "08103a39", + "id": "0db236b1", "metadata": {}, "outputs": [ { @@ -910,7 +901,7 @@ { "cell_type": "code", "execution_count": null, - "id": "768d4300", + "id": "37d719c4", "metadata": {}, "outputs": [], "source": []