Skip to content

Commit

Permalink
Kiev -> Kyiv
Browse files Browse the repository at this point in the history
  • Loading branch information
rusackas committed Apr 25, 2024
1 parent a6f1c9a commit 2957c9a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1320,6 +1320,15 @@
"\n",
"ukraine_with_crimea = pd.concat([df[df['adm0_a3'] == 'UKR'], crimea, sevastopol], ignore_index=True)\n",
"\n",
"# kyiv = ukraine_with_crimea[ukraine_with_crimea['iso_3166_2'] == 'UA-30']\n",
"# kyiv_oblast = ukraine_with_crimea[ukraine_with_crimea['iso_3166_2'] == 'UA-32']\n",
"\n",
"# Update the name of the Kyiv city entry\n",
"ukraine_with_crimea.loc[ukraine_with_crimea['iso_3166_2'] == 'UA-30', 'name'] = 'Kyiv'\n",
"\n",
"# # Update the name of the Kyiv Oblast entry\n",
"ukraine_with_crimea.loc[ukraine_with_crimea['iso_3166_2'] == 'UA-32', 'name'] = 'Kyiv Oblast'\n",
"\n",
"# Plotting the DataFrame\n",
"ukraine_with_crimea.plot(figsize=(12, 12))"
]
Expand Down Expand Up @@ -2584,6 +2593,11 @@
"## Output Typescript"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": []
},
{
"cell_type": "code",
"execution_count": 51,
Expand Down
Loading

0 comments on commit 2957c9a

Please sign in to comment.