change paths

This commit is contained in:
danilafilippov7299 2024-12-07 12:08:50 +04:00
parent ca522c3021
commit 88bffcda96

View File

@ -204,7 +204,7 @@
"source": [
"#Чтобы загрузить данные из CSV файла:\n",
"\n",
"df = pd.read_csv('datasets/nuforc_reports.csv')\n",
"df = pd.read_csv('../../datasets/nuforc_reports.csv')\n",
"df.head()\n"
]
},
@ -541,7 +541,7 @@
}
],
"source": [
"df = pd.read_csv('datasets/nuforc_reports.csv')\n",
"df = pd.read_csv('../../datasets/nuforc_reports.csv')\n",
"\n",
"# Пример: Линейная диаграмма количества отчетов по годам\n",
"df['year'] = pd.to_datetime(df['date_time']).dt.year\n",