线上数据补全

This commit is contained in:
workpc 2024-12-17 14:58:36 +08:00
parent 34c4a9e205
commit eac31f7e2e
5 changed files with 80 additions and 1562 deletions

View File

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 7,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -472,28 +472,22 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 8,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"20241124\n", "20241209\n"
"20241125\n",
"20241126\n",
"20241127\n",
"20241128\n",
"20241129\n",
"20241130\n"
] ]
} }
], ],
"source": [ "source": [
"from datetime import datetime, timedelta\n", "from datetime import datetime, timedelta\n",
"\n", "\n",
"start_date = datetime(2024, 11, 24)\n", "start_date = datetime(2024, 12, 9)\n",
"end_date = datetime(2024, 12, 1)\n", "end_date = datetime(2024, 12, 10)\n",
"\n", "\n",
"while start_date < end_date:\n", "while start_date < end_date:\n",
" print(start_date.strftime('%Y%m%d'))\n", " print(start_date.strftime('%Y%m%d'))\n",