Skip to content

Commit

Permalink
changed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xbwei committed Jul 3, 2024
1 parent 164b734 commit a44ac91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 4 additions & 3 deletions COVID_19_Data_Analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,8 @@
}
],
"source": [
"df = df.rename(columns={\"popData2019\": \"pop\", \"Cumulative_number_for_14_days_of_COVID-19_cases_per_100000\": \"cum\",\"countriesAndTerritories\":\"country\" }) #rename columns\n",
"#rename columns\n",
"df = df.rename(columns={\"popData2019\": \"pop\", \"Cumulative_number_for_14_days_of_COVID-19_cases_per_100000\": \"cum\",\"countriesAndTerritories\":\"country\" }) \n",
"df.head()"
]
},
Expand Down Expand Up @@ -2016,7 +2017,7 @@
}
],
"source": [
"df['country'].value_counts() #show the count of unqiue values "
"df['country'].value_counts() #show the count of unique values "
]
},
{
Expand Down Expand Up @@ -2182,7 +2183,7 @@
}
],
"source": [
"USA_data.reset_index().plot.scatter(x='date',y='deaths',c='cum')"
"USA_data.reset_index().plot.scatter(x='date',y='deaths',c='cum') #use scatter plot to show the result"
]
},
{
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Social Data Analytics in the Cloud with AI

The demo codes for the textbook *Social Data Analytics in the Cloud with AI*.

test
The demo codes for the textbook *Social Data Analytics in the Cloud with AI*.

0 comments on commit a44ac91

Please sign in to comment.