1031 lines
46 KiB
Plaintext
1031 lines
46 KiB
Plaintext
{
|
||
"cells": [
|
||
{
|
||
"cell_type": "markdown",
|
||
"metadata": {},
|
||
"source": [
|
||
"# Habits"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 69,
|
||
"metadata": {},
|
||
"outputs": [],
|
||
"source": [
|
||
"import pandas as pd\n",
|
||
"import calendar\n",
|
||
"import matplotlib \n",
|
||
"import matplotlib.pyplot as plt"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 73,
|
||
"metadata": {},
|
||
"outputs": [],
|
||
"source": [
|
||
"colNames = ['date', 'value']\n",
|
||
"meditateChecks = pd.read_csv('LoopHabits/002 Meditate/Checkmarks.csv', names=colNames, header=None)\n",
|
||
"meditateScore = pd.read_csv('LoopHabits/002 Meditate/Scores.csv', names=colNames, header=None)"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 79,
|
||
"metadata": {},
|
||
"outputs": [
|
||
{
|
||
"data": {
|
||
"text/html": [
|
||
"<div>\n",
|
||
"<style scoped>\n",
|
||
" .dataframe tbody tr th:only-of-type {\n",
|
||
" vertical-align: middle;\n",
|
||
" }\n",
|
||
"\n",
|
||
" .dataframe tbody tr th {\n",
|
||
" vertical-align: top;\n",
|
||
" }\n",
|
||
"\n",
|
||
" .dataframe thead th {\n",
|
||
" text-align: right;\n",
|
||
" }\n",
|
||
"</style>\n",
|
||
"<table border=\"1\" class=\"dataframe\">\n",
|
||
" <thead>\n",
|
||
" <tr style=\"text-align: right;\">\n",
|
||
" <th></th>\n",
|
||
" <th>date</th>\n",
|
||
" <th>Meditate</th>\n",
|
||
" <th>Exercise</th>\n",
|
||
" <th>Read</th>\n",
|
||
" <th>Journal</th>\n",
|
||
" <th>devlog</th>\n",
|
||
" <th>Plants</th>\n",
|
||
" <th>Draw</th>\n",
|
||
" </tr>\n",
|
||
" </thead>\n",
|
||
" <tbody>\n",
|
||
" <tr>\n",
|
||
" <th>0</th>\n",
|
||
" <td>2020-01-17</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>1</th>\n",
|
||
" <td>2020-01-16</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>2</th>\n",
|
||
" <td>2020-01-15</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>3</th>\n",
|
||
" <td>2020-01-14</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>4</th>\n",
|
||
" <td>2020-01-13</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>5</th>\n",
|
||
" <td>2020-01-12</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>6</th>\n",
|
||
" <td>2020-01-11</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>7</th>\n",
|
||
" <td>2020-01-10</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>8</th>\n",
|
||
" <td>2020-01-09</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>9</th>\n",
|
||
" <td>2020-01-08</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>10</th>\n",
|
||
" <td>2020-01-07</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>11</th>\n",
|
||
" <td>2020-01-06</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>12</th>\n",
|
||
" <td>2020-01-05</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>13</th>\n",
|
||
" <td>2020-01-04</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>14</th>\n",
|
||
" <td>2020-01-03</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>15</th>\n",
|
||
" <td>2020-01-02</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>16</th>\n",
|
||
" <td>2020-01-01</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>17</th>\n",
|
||
" <td>2019-12-31</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>18</th>\n",
|
||
" <td>2019-12-30</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>19</th>\n",
|
||
" <td>2019-12-29</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>20</th>\n",
|
||
" <td>2019-12-28</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>21</th>\n",
|
||
" <td>2019-12-27</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>22</th>\n",
|
||
" <td>2019-12-26</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>23</th>\n",
|
||
" <td>2019-12-25</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>24</th>\n",
|
||
" <td>2019-12-24</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>25</th>\n",
|
||
" <td>2019-12-23</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>26</th>\n",
|
||
" <td>2019-12-22</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>27</th>\n",
|
||
" <td>2019-12-21</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>28</th>\n",
|
||
" <td>2019-12-20</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>29</th>\n",
|
||
" <td>2019-12-19</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>...</th>\n",
|
||
" <td>...</td>\n",
|
||
" <td>...</td>\n",
|
||
" <td>...</td>\n",
|
||
" <td>...</td>\n",
|
||
" <td>...</td>\n",
|
||
" <td>...</td>\n",
|
||
" <td>...</td>\n",
|
||
" <td>...</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>717</th>\n",
|
||
" <td>2018-01-30</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>718</th>\n",
|
||
" <td>2018-01-29</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>719</th>\n",
|
||
" <td>2018-01-28</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>720</th>\n",
|
||
" <td>2018-01-27</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>721</th>\n",
|
||
" <td>2018-01-26</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>722</th>\n",
|
||
" <td>2018-01-25</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>723</th>\n",
|
||
" <td>2018-01-24</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>724</th>\n",
|
||
" <td>2018-01-23</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>725</th>\n",
|
||
" <td>2018-01-22</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>726</th>\n",
|
||
" <td>2018-01-21</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>727</th>\n",
|
||
" <td>2018-01-20</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>728</th>\n",
|
||
" <td>2018-01-19</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>729</th>\n",
|
||
" <td>2018-01-18</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>730</th>\n",
|
||
" <td>2018-01-17</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>731</th>\n",
|
||
" <td>2018-01-16</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>732</th>\n",
|
||
" <td>2018-01-15</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>733</th>\n",
|
||
" <td>2018-01-14</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>734</th>\n",
|
||
" <td>2018-01-13</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>735</th>\n",
|
||
" <td>2018-01-12</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>736</th>\n",
|
||
" <td>2018-01-11</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>737</th>\n",
|
||
" <td>2018-01-10</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>738</th>\n",
|
||
" <td>2018-01-09</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>739</th>\n",
|
||
" <td>2018-01-08</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>740</th>\n",
|
||
" <td>2018-01-07</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>741</th>\n",
|
||
" <td>2018-01-06</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>1</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>742</th>\n",
|
||
" <td>2018-01-05</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>743</th>\n",
|
||
" <td>2018-01-04</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>744</th>\n",
|
||
" <td>2018-01-03</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>745</th>\n",
|
||
" <td>2018-01-02</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>746</th>\n",
|
||
" <td>2018-01-01</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>2</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" <td>0</td>\n",
|
||
" </tr>\n",
|
||
" </tbody>\n",
|
||
"</table>\n",
|
||
"<p>747 rows × 8 columns</p>\n",
|
||
"</div>"
|
||
],
|
||
"text/plain": [
|
||
" date Meditate Exercise Read Journal devlog Plants Draw\n",
|
||
"0 2020-01-17 2 2 0 1 0 0 0\n",
|
||
"1 2020-01-16 0 0 0 1 0 0 0\n",
|
||
"2 2020-01-15 0 0 0 1 0 0 0\n",
|
||
"3 2020-01-14 2 1 1 1 0 0 0\n",
|
||
"4 2020-01-13 0 1 2 2 0 0 0\n",
|
||
"5 2020-01-12 0 1 2 0 0 0 0\n",
|
||
"6 2020-01-11 0 1 1 0 0 0 0\n",
|
||
"7 2020-01-10 0 2 2 0 0 0 0\n",
|
||
"8 2020-01-09 0 2 0 0 0 0 0\n",
|
||
"9 2020-01-08 1 2 1 1 0 0 0\n",
|
||
"10 2020-01-07 2 2 2 1 0 0 0\n",
|
||
"11 2020-01-06 0 0 2 1 0 0 0\n",
|
||
"12 2020-01-05 2 0 0 1 0 0 0\n",
|
||
"13 2020-01-04 0 2 0 1 0 0 0\n",
|
||
"14 2020-01-03 0 0 0 1 0 0 0\n",
|
||
"15 2020-01-02 0 0 0 2 0 0 0\n",
|
||
"16 2020-01-01 0 0 0 0 0 0 0\n",
|
||
"17 2019-12-31 0 0 0 0 0 0 0\n",
|
||
"18 2019-12-30 0 1 0 0 0 0 0\n",
|
||
"19 2019-12-29 0 2 1 0 0 0 0\n",
|
||
"20 2019-12-28 0 0 2 0 0 0 0\n",
|
||
"21 2019-12-27 0 2 2 0 1 0 0\n",
|
||
"22 2019-12-26 0 1 0 1 1 0 0\n",
|
||
"23 2019-12-25 0 1 0 1 1 0 0\n",
|
||
"24 2019-12-24 2 2 0 1 1 0 0\n",
|
||
"25 2019-12-23 1 0 0 1 1 0 0\n",
|
||
"26 2019-12-22 1 0 0 1 1 0 0\n",
|
||
"27 2019-12-21 2 2 0 1 2 0 0\n",
|
||
"28 2019-12-20 2 2 1 2 0 0 0\n",
|
||
"29 2019-12-19 0 0 2 1 0 0 0\n",
|
||
".. ... ... ... ... ... ... ... ...\n",
|
||
"717 2018-01-30 2 0 0 2 0 0 0\n",
|
||
"718 2018-01-29 0 0 0 2 0 0 0\n",
|
||
"719 2018-01-28 0 1 0 1 0 0 0\n",
|
||
"720 2018-01-27 0 1 0 1 0 0 0\n",
|
||
"721 2018-01-26 0 2 0 1 0 0 0\n",
|
||
"722 2018-01-25 1 0 0 2 0 0 0\n",
|
||
"723 2018-01-24 1 1 0 1 0 0 0\n",
|
||
"724 2018-01-23 2 2 0 2 0 0 0\n",
|
||
"725 2018-01-22 2 2 0 2 0 0 0\n",
|
||
"726 2018-01-21 0 1 0 0 0 0 0\n",
|
||
"727 2018-01-20 0 1 0 0 0 0 0\n",
|
||
"728 2018-01-19 0 1 0 0 0 0 0\n",
|
||
"729 2018-01-18 0 2 0 1 0 0 0\n",
|
||
"730 2018-01-17 2 2 0 1 0 0 0\n",
|
||
"731 2018-01-16 0 1 0 1 0 0 0\n",
|
||
"732 2018-01-15 0 2 0 1 0 0 0\n",
|
||
"733 2018-01-14 1 2 0 1 0 0 0\n",
|
||
"734 2018-01-13 1 1 0 1 0 0 0\n",
|
||
"735 2018-01-12 2 1 0 2 0 0 0\n",
|
||
"736 2018-01-11 2 1 0 0 0 0 0\n",
|
||
"737 2018-01-10 0 2 0 0 0 0 0\n",
|
||
"738 2018-01-09 0 1 0 0 0 0 0\n",
|
||
"739 2018-01-08 0 2 0 0 0 0 0\n",
|
||
"740 2018-01-07 0 2 0 0 0 0 0\n",
|
||
"741 2018-01-06 0 1 0 0 0 0 0\n",
|
||
"742 2018-01-05 0 2 0 0 0 0 0\n",
|
||
"743 2018-01-04 0 0 0 0 0 0 0\n",
|
||
"744 2018-01-03 0 0 0 0 0 0 0\n",
|
||
"745 2018-01-02 2 2 0 0 0 0 0\n",
|
||
"746 2018-01-01 0 2 0 0 0 0 0\n",
|
||
"\n",
|
||
"[747 rows x 8 columns]"
|
||
]
|
||
},
|
||
"execution_count": 79,
|
||
"metadata": {},
|
||
"output_type": "execute_result"
|
||
}
|
||
],
|
||
"source": [
|
||
"#colNames = ['date', 'Godmode', 'Meditate', 'Exercise', 'Piano','Read', 'Journal', 'Gratitude', 'devlog','Plants', 'Job', 'Draw']\n",
|
||
"checks = pd.read_csv('LoopHabits/Checkmarks.csv', header=0)\n",
|
||
"checks = checks.drop(['Godmode', 'Piano', 'Gratitude', 'Job'], axis=1)\n",
|
||
"checks"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 80,
|
||
"metadata": {},
|
||
"outputs": [
|
||
{
|
||
"ename": "IndentationError",
|
||
"evalue": "expected an indented block (<ipython-input-80-9f6f54af3f2a>, line 19)",
|
||
"output_type": "error",
|
||
"traceback": [
|
||
"\u001b[0;36m File \u001b[0;32m\"<ipython-input-80-9f6f54af3f2a>\"\u001b[0;36m, line \u001b[0;32m19\u001b[0m\n\u001b[0;31m diffStreak = pd.concat([pd.Series([0]) , df[::-1].value, pd.Series([0])]).diff().tolist()\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mIndentationError\u001b[0m\u001b[0;31m:\u001b[0m expected an indented block\n"
|
||
]
|
||
}
|
||
],
|
||
"source": [
|
||
"def only2019(df):\n",
|
||
" df['drop'] = df['date'].apply(lambda x: 0 if x[0:4] == '2019' else 1)\n",
|
||
" df = df.drop(df[df['drop'] == 1].index)\n",
|
||
" df = df.drop(columns=['drop'])\n",
|
||
" return df\n",
|
||
"\n",
|
||
"def MarchOnwards(df):\n",
|
||
" # For habits only, lost my phone in late Febuary, didn't have a recent backup\n",
|
||
" df['drop'] = df['date'].apply(lambda x: 1 if x[5:7] == '01' or x[5:7] == '02' else 0)\n",
|
||
" df = df.drop(df[df['drop'] == 1].index)\n",
|
||
" df = df.drop(columns=['drop'])\n",
|
||
" return df\n",
|
||
"\n",
|
||
"def longestZero(df):\n",
|
||
" # reverse the series so dates are ascending (increasing?)\n",
|
||
" # pad out the series with 0s, then diff it to track total, use that total to calculate highest streak\n",
|
||
" # streak increases when sum is 0\n",
|
||
" diffStreak = pd.concat([pd.Series([0]) , df[::-1].value, pd.Series([0])]).diff().tolist()\n",
|
||
" runningSum = 0\n",
|
||
" streak = 0\n",
|
||
" streakList = []\n",
|
||
" for e in diffStreak[1:-1]:\n",
|
||
" runningSum += e\n",
|
||
" if runningSum == 0:\n",
|
||
" streak += 1\n",
|
||
" else:\n",
|
||
" streakList.append(streak)\n",
|
||
" streak = 0\n",
|
||
" return max(streakList)\n",
|
||
"\n",
|
||
"def longestStreak(df):\n",
|
||
" # reverse the series so dates are ascending (increasing?)\n",
|
||
" # pad out the series with 0s, then diff it to track total, use that total to calculate highest streak\n",
|
||
" # streak increases when sum is non-zero\n",
|
||
" diffStreak = pd.concat([pd.Series([0]) , df[::-1].value, pd.Series([0])]).diff().tolist()\n",
|
||
" runningSum = 0\n",
|
||
" streak = 0\n",
|
||
" streakList = []\n",
|
||
" for e in diffStreak[1:-1]:\n",
|
||
" runningSum += e\n",
|
||
" if runningSum != 0:\n",
|
||
" streak += 1\n",
|
||
" else:\n",
|
||
" streakList.append(streak)\n",
|
||
" streak = 0\n",
|
||
" return max(streakList)\n",
|
||
"\n",
|
||
"def sumMonth(df):\n",
|
||
" df['month'] = pd.DatetimeIndex(df['date']).month\n",
|
||
" return df.groupby(['month']).sum()\n",
|
||
"\n",
|
||
"def meanMonth(df):\n",
|
||
" df['month'] = pd.DatetimeIndex(df['date']).month\n",
|
||
" return df.groupby(['month']).mean()\n",
|
||
"\n",
|
||
"def plotScore(df):\n",
|
||
" df = meanMonth(df)\n",
|
||
" plt.plot(df)\n",
|
||
" plt.show()\n",
|
||
"\n",
|
||
"def countZeros(df):\n",
|
||
" return countValue(0, df)\n",
|
||
"\n",
|
||
"def countValue(countValue, df):\n",
|
||
" return (df.value == countValue).astype(int).sum()\n"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 72,
|
||
"metadata": {},
|
||
"outputs": [
|
||
{
|
||
"name": "stdout",
|
||
"output_type": "stream",
|
||
"text": [
|
||
"Days done: 72\n",
|
||
"Non-streak days: 195\n",
|
||
"Streak days: 39\n",
|
||
"Longest streak: 17\n",
|
||
"Longest zeros: 23\n",
|
||
"Best month: September\n",
|
||
"Worst month: April\n"
|
||
]
|
||
},
|
||
{
|
||
"data": {
|
||
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXcAAAD8CAYAAACMwORRAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAIABJREFUeJzt3Xd4lfX9//HnO5ssAmSThIQsZhCMlCUCokyhzqp11rqwtiq11U5bf622Kl/3rqPOihNly5YlQWQFAiFkASGDACEhZJzP748kGnaAc859zsn7cV1cck7unPt1HcmLm/e57/sjxhiUUkp5Fi+rAyillLI/LXellPJAWu5KKeWBtNyVUsoDabkrpZQH0nJXSikPpOWulFIeSMtdKaU8kJa7Ukp5IB+rdhweHm4SExOt2r1SSrmltWvXlhtj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BiARYncmZROQNESkVkU2tnussIvNFZHvzfztZmdFZTvJePNH8s7JBRD4TkTBH7FvL/ez9BthidQgX8QwwxxjTA+hHO35fRKQr8Gsg0xjTB/AGrrU2ldO9BYw95rmHgAXGmFRgQfPj9uAtjn8v5gN9jDEZwDbgYUfsWMv9LIhIHDABeN3qLFYTkY7AcOA/AMaYOmPMfmtTWc4H6CAiPkAgsNviPE5ljFkK7Dvm6cnA282/fxv4qVNDWeRE74UxZp4xpqH54SogzhH71nI/O08DvwNsVgdxAUlAGfBm85jqdREJsjqUVYwxu4AngUJgD3DAGDPP2lQuIcoYs6f59yWALj7c5BfAbEe8sJb7GRKRiUCpMWat1VlchA8wAHjJGNMfqKb9/JP7OM2z5Mk0/aUXCwSJyA3WpnItpukUvXZ/mp6I/BFoAN5zxOtruZ+5ocAkEckHPgRGici71kayVDFQbIxZ3fz4Y5rKvr0aDew0xpQZY+qBT4EhFmdyBXtFJAag+b+lFuexlIjcAkwEfm4cdD66lvsZMsY8bIyJM8Yk0vRB2UJjTLs9MjPGlABFIpLe/NTFQLaFkaxWCAwSkUAREZrej3b7AXMrM4Cbm39/M/CFhVksJSJjaRrrTjLG1DhqPz6OemHVrtwLvCcifkAecKvFeSxjjFktIh8D39H0T+51tLOrM0XkA2AEEC4ixcBfgceBj0TkNpruBnuNdQmd5yTvxcOAPzC/6e9/Vhlj7rL7vvUKVaWU8jw6llFKKQ+k5a6UUh5Iy10ppTyQlrtSSnkgLXellPJAWu5KKeWBtNyVUsoDabkrpZQH+v8JAfFSy+oMbwAAAABJRU5ErkJggg==\n",
|
||
"text/plain": [
|
||
"<Figure size 432x288 with 1 Axes>"
|
||
]
|
||
},
|
||
"metadata": {
|
||
"needs_background": "light"
|
||
},
|
||
"output_type": "display_data"
|
||
}
|
||
],
|
||
"source": [
|
||
"df = MarchOnwards(only2019(meditateChecks))\n",
|
||
"print(\"Days done: \" + str(countValue(2, df)))\n",
|
||
"print(\"Non-streak days: \" + str(countZeros(df)))\n",
|
||
"print(\"Streak days: \" + str(countValue(1, df)))\n",
|
||
"print(\"Longest streak: \" + str(longestStreak(df)))\n",
|
||
"print(\"Longest zeros: \" + str(longestZero(df)))\n",
|
||
"print(\"Best month: \" + calendar.month_name[int(sumMonth(df).idxmax())])\n",
|
||
"print(\"Worst month: \" + calendar.month_name[int(sumMonth(df).idxmin())])\n",
|
||
"plotScore(df)"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 71,
|
||
"metadata": {},
|
||
"outputs": [
|
||
{
|
||
"name": "stdout",
|
||
"output_type": "stream",
|
||
"text": [
|
||
"306\n"
|
||
]
|
||
},
|
||
{
|
||
"data": {
|
||
"text/plain": [
|
||
"299"
|
||
]
|
||
},
|
||
"execution_count": 71,
|
||
"metadata": {},
|
||
"output_type": "execute_result"
|
||
}
|
||
],
|
||
"source": [
|
||
"# Total days for habits: 306\n",
|
||
"# How come when counting streaks I only get 299?\n",
|
||
"# missing 1 week??\n",
|
||
"print(72 + 195 + 39)\n",
|
||
"longestStreak(onlyMarch(only2019(meditateChecks))) + longestZero(onlyMarch(only2019(meditateChecks)))"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "markdown",
|
||
"metadata": {},
|
||
"source": [
|
||
"Why don't the above two numbers match??"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 81,
|
||
"metadata": {},
|
||
"outputs": [
|
||
{
|
||
"data": {
|
||
"text/plain": [
|
||
"Index(['date', 'value', 'month'], dtype='object')"
|
||
]
|
||
},
|
||
"execution_count": 81,
|
||
"metadata": {},
|
||
"output_type": "execute_result"
|
||
}
|
||
],
|
||
"source": [
|
||
"df.keys()"
|
||
]
|
||
}
|
||
],
|
||
"metadata": {
|
||
"kernelspec": {
|
||
"display_name": "Python 3",
|
||
"language": "python",
|
||
"name": "python3"
|
||
},
|
||
"language_info": {
|
||
"codemirror_mode": {
|
||
"name": "ipython",
|
||
"version": 3
|
||
},
|
||
"file_extension": ".py",
|
||
"mimetype": "text/x-python",
|
||
"name": "python",
|
||
"nbconvert_exporter": "python",
|
||
"pygments_lexer": "ipython3",
|
||
"version": "3.6.5"
|
||
}
|
||
},
|
||
"nbformat": 4,
|
||
"nbformat_minor": 4
|
||
}
|