no commit message

parent a1f83982
...@@ -332,26 +332,24 @@ ...@@ -332,26 +332,24 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 224, "execution_count": 229,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"Int64Index([744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755], dtype='int64')" "Int64Index([748, 749, 750, 751, 752, 753, 754, 755], dtype='int64')"
] ]
}, },
"execution_count": 224, "execution_count": 229,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
], ],
"source": [ "source": [
"date = datetime.date.today()\n", "date = datetime.date.today()\n",
"date\n", "da\n",
"\n", "data.drop(data[(data.Yr == date.year) & (data.Mn > date.month)].index)\n"
"d = data[data.Yr == date.year && data.Mn == date.year].index\n",
"d"
] ]
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment