Skip to content

Commit

Permalink
cleaning code
Browse files Browse the repository at this point in the history
  • Loading branch information
aspenjack committed Jan 26, 2024
1 parent 4c3efb5 commit 91b515a
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions Plastics_Background_Data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"outputs": [],
"source": [
"import pandas as pd\n",
"import csv\n"
"import csv"
]
},
{
Expand Down Expand Up @@ -887,9 +887,7 @@
}
],
"source": [
"plastic_df_cleaning_test[\"Location\"].loc[plastic_df_cleaning_test[\"Location\"] == \"OECD Asia\"] = \"Asia\"\n",
"\n",
"# company_cleaned_df.loc[company_cleaned_df[\"country\"] == \"Korea, Republic of\", \"country\"] = \"South Korea\""
"plastic_df_cleaning_test[\"Location\"].loc[plastic_df_cleaning_test[\"Location\"] == \"OECD Asia\"] = \"Asia\"\n"
]
},
{
Expand Down Expand Up @@ -1199,14 +1197,6 @@
"source": [
"plastic_df_cleaning_test.to_csv(\"./clean_plastic_data.csv\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "5989c9f1",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 91b515a

Please sign in to comment.