Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
88bffcda96 |
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user