Skip to content

Commit

Permalink
aa
Browse files Browse the repository at this point in the history
  • Loading branch information
yjpark0621 committed Dec 2, 2019
1 parent 5a281f8 commit 1ac5283
Show file tree
Hide file tree
Showing 7 changed files with 178,631 additions and 42,410 deletions.
35 changes: 33 additions & 2 deletions Cleaned/.ipynb_checkpoints/crime_cleanup-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -839,13 +839,44 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 9,
"metadata": {},
"outputs": [],
"source": [
"crime_cleaned.dropna().to_clipboard()"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"crime_cleaned.to_csv(r'C:\\Users\\sujeong\\Documents\\2019 Fall NYU MSDS ■\\1001 Introduction to Data Science\\Project\\crime_cleanup.csv', index=False)"
"crime_cleaned = crime_cleaned.dropna()"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Young Jin Park\\Anaconda3\\lib\\site-packages\\ipykernel_launcher.py:1: SettingWithCopyWarning: \n",
"A value is trying to be set on a copy of a slice from a DataFrame.\n",
"Try using .loc[row_indexer,col_indexer] = value instead\n",
"\n",
"See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
" \"\"\"Entry point for launching an IPython kernel.\n"
]
}
],
"source": [
"crime_cleaned[\"cmplnt_fr_dt\"] = pd.to_datetime(crime_cleaned[\"cmplnt_fr_dt\"])"
]
},
{
Expand Down
10,393 changes: 10,393 additions & 0 deletions Cleaned/FINAL_ALL.csv

Large diffs are not rendered by default.

20,792 changes: 10,393 additions & 10,399 deletions Cleaned/FINAL_MERGED_MANHATTAN_ALL_complaints.csv

Large diffs are not rendered by default.

20,792 changes: 10,393 additions & 10,399 deletions Cleaned/FINAL_MERGED_MANHATTAN_comp_price.csv

Large diffs are not rendered by default.

10,393 changes: 10,393 additions & 0 deletions Cleaned/FINAL_MERGED_w_crime.csv

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions Cleaned/crime_cleanup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,39 @@
"crime_cleaned.dropna().to_clipboard()"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"crime_cleaned = crime_cleaned.dropna()"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\Young Jin Park\\Anaconda3\\lib\\site-packages\\ipykernel_launcher.py:1: SettingWithCopyWarning: \n",
"A value is trying to be set on a copy of a slice from a DataFrame.\n",
"Try using .loc[row_indexer,col_indexer] = value instead\n",
"\n",
"See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
" \"\"\"Entry point for launching an IPython kernel.\n"
]
}
],
"source": [
"crime_cleaned[\"cmplnt_fr_dt\"] = pd.to_datetime(crime_cleaned[\"cmplnt_fr_dt\"])"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
Loading

0 comments on commit 1ac5283

Please sign in to comment.