Skip to content

Instantly share code, notes, and snippets.

View dralmadani's full-sized avatar
💭
studying

Abdul Salam Almadani dralmadani

💭
studying
View GitHub Profile
@dralmadani
dralmadani / quiz2.md
Created May 7, 2019 14:38 — forked from mGalarnyk/quiz2.md
The Data Scientist's Toolbox Quiz 2 (Week 2) John Hopkins Data Science Specialization Coursera for the github repo https://github.com/mGalarnyk/datasciencecoursera/tree/master/1_Data_Scientist_Toolbox

The Data Scientist's Toolbox Quiz 2 (JHU) Coursera

github repo for rest of specialization: Data Science Coursera

Question 1

Which of the following commands will create a directory called data in your current working directory?

  • mkdir /Users/data
We can't make this file beautiful and searchable because it's too large.
date,location,new_cases,new_deaths,total_cases,total_deaths,weekly_cases,weekly_deaths,biweekly_cases,biweekly_deaths
31/12/2019,Afghanistan,0,0,0,0,0,0,0,0
01/01/2020,Afghanistan,0,0,0,0,0,0,0,0
02/01/2020,Afghanistan,0,0,0,0,0,0,0,0
03/01/2020,Afghanistan,0,0,0,0,0,0,0,0
04/01/2020,Afghanistan,0,0,0,0,0,0,0,0
05/01/2020,Afghanistan,0,0,0,0,0,0,0,0
06/01/2020,Afghanistan,0,0,0,0,0,0,0,0
07/01/2020,Afghanistan,0,0,0,0,0,0,0,0
08/01/2020,Afghanistan,0,0,0,0,0,0,0,0
Rank City State usps pop2020 pop2010 change density aland
1 New York New York NY 8323340 8190360 0.0162 10699 778
2 Los Angeles California CA 4015940 3795370 0.0581 3306 1215
3 Chicago Illinois IL 2694240 2697530 -0.0012 4575 589
4 Houston Texas TX 2340890 2098450 0.1155 1412 1658
5 Phoenix Arizona AZ 1703080 1449300 0.1751 1270 1341
6 Philadelphia Pennsylvania PA 1591800 1528290 0.0416 4577 348
7 San Antonio Texas TX 1578030 1332880 0.1839 1256 1256
8 San Diego California CA 1447100 1305970 0.1081 1715 844
9 Dallas Texas TX 1382270 1200370 0.1515 1571 880
age sex cp trestbps chol fbs restecg thalach exang oldpeak slope ca thal target
63 1 3 145 233 1 0 150 0 2.3 0 0 1 1
37 1 2 130 250 0 1 187 0 3.5 0 0 2 1
41 0 1 130 204 0 0 172 0 1.4 2 0 2 1
56 1 1 120 236 0 1 178 0 0.8 2 0 2 1
57 0 0 120 354 0 1 163 1 0.6 2 0 2 1
57 1 0 140 192 0 1 148 0 0.4 1 0 1 1
56 0 1 140 294 0 0 153 0 1.3 1 0 2 1
44 1 1 120 263 0 1 173 0 0 2 0 3 1
52 1 2 172 199 1 1 162 0 0.5 2 0 3 1
Specification Keyword RGB hex value
CSS Level 1 black #000000
CSS Level 1 silver #c0c0c0
CSS Level 1 gray #808080
CSS Level 1 white #ffffff
CSS Level 1 maroon #800000
CSS Level 1 red #ff0000
CSS Level 1 purple #800080
CSS Level 1 fuchsia #ff00ff
CSS Level 1 green #008000
@dralmadani
dralmadani / CoronavirusDailyData4Loc.csv
Last active September 23, 2020 14:02
Covid-19_4_location
date location new_cases new_deaths total_cases total_deaths
31/12/2019 Australia 0 0 0 0
01/01/2020 Australia 0 0 0 0
02/01/2020 Australia 0 0 0 0
03/01/2020 Australia 0 0 0 0
04/01/2020 Australia 0 0 0 0
05/01/2020 Australia 0 0 0 0
06/01/2020 Australia 0 0 0 0
07/01/2020 Australia 0 0 0 0
08/01/2020 Australia 0 0 0 0