Skip to content

Commit

Permalink
Merge pull request #22 from BU-Spark/rerun-plotting
Browse files Browse the repository at this point in the history
Created selected reference data CSV file containing selected reference data for the top 10 sp…
  • Loading branch information
zacharymeurer authored Jun 28, 2024
2 parents e62127d + 677a3b8 commit 3d296a4
Show file tree
Hide file tree
Showing 423 changed files with 2,981 additions and 27 deletions.
35 changes: 32 additions & 3 deletions data_cleaning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 24,
"id": "1609308f",
"metadata": {
"scrolled": true
Expand Down Expand Up @@ -75,7 +75,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 25,
"id": "ef76fac6",
"metadata": {
"scrolled": true
Expand Down Expand Up @@ -268,7 +268,7 @@
"4 -2.0 -2.0 -2.0 -2.0 -2.0 "
]
},
"execution_count": 3,
"execution_count": 25,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -2347,6 +2347,35 @@
" new_df = clean_df(ref_df) # Clean reference data\n",
" new_df.to_csv('./all data/reference/{}'.format(tablename), index=False) # Save cleaned reference data to disk in reference folder"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "2980acaa",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array(['Kerala', 'Karnataka', 'Telangana', 'Puducherry', 'Maharashtra',\n",
" 'Tamil Nadu', 'Goa', 'Odisha', 'Manipur', 'Andhra Pradesh',\n",
" 'Rajasthan', 'West Bengal', 'Chhattisgarh', 'Madhya Pradesh',\n",
" 'Punjab', 'Gujarat', 'Andaman and Nicobar Islands',\n",
" 'Uttar Pradesh', 'Uttarakhand', 'Assam', 'Meghalaya', 'Nagaland',\n",
" 'Tripura', 'Delhi', 'Jammu and Kashmir', 'Himachal Pradesh',\n",
" 'Jharkhand', 'Haryana', 'Arunachal Pradesh', 'Bihar',\n",
" 'Lakshadweep', 'Sikkim', 'Chandigarh', 'Dadra and Nagar Haveli'],\n",
" dtype=object)"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"pd.read_csv(\"updated_alldata.csv\")[\"State_name\"].unique()"
]
}
],
"metadata": {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3d296a4

Please sign in to comment.