I hereby claim:
- I am ecotg on github.
- I am ecotg (https://keybase.io/ecotg) on keybase.
- I have a public key ASCoOWmIYbarNJQN8FPjog_yXOYgkCXU5qPUiHeD6pmnTwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Additional: Exploratory data analysis using python | |
# >> csv data: http://bit.ly/2oodrwJ | |
# >> This is a data set that records various attributes of passengers on the Titanic, including who survived and who didn’t. | |
# >> Dimensions of the data: | |
# >> # passengers, % per gender, % per class | |
# >> Average age of survivors? | |
# >> What class had the most survivors? | |
# >> What were the average fares per class | |
# >> | |
# >> |
"","pclass","survived","name","sex","age","sibsp","parch","ticket","fare","cabin","embarked","boat","body","home.dest","has_cabin_number" | |
"1",1,1,"Allen, Miss. Elisabeth Walton","female",29,0,0,"24160",211.3375,"B5","S","2",NA,"St Louis, MO",1 | |
"2",1,1,"Allison, Master. Hudson Trevor","male",0.9167,1,2,"113781",151.55,"C22 C26","S","11",NA,"Montreal, PQ / Chesterville, ON",1 | |
"3",1,0,"Allison, Miss. Helen Loraine","female",2,1,2,"113781",151.55,"C22 C26","S",NA,NA,"Montreal, PQ / Chesterville, ON",1 | |
"4",1,0,"Allison, Mr. Hudson Joshua Creighton","male",30,1,2,"113781",151.55,"C22 C26","S",NA,135,"Montreal, PQ / Chesterville, ON",1 | |
"5",1,0,"Allison, Mrs. Hudson J C (Bessie Waldo Daniels)","female",25,1,2,"113781",151.55,"C22 C26","S",NA,NA,"Montreal, PQ / Chesterville, ON",1 | |
"6",1,1,"Anderson, Mr. Harry","male",48,0,0,"19952",26.55,"E12","S","3",NA,"New York, NY",1 | |
"7",1,1,"Andrews, Miss. Kornelia Theodosia","female",63,1,0,"13502",77.9583,"D7","S","10",NA,"Hudson, NY",1 | |
"8",1,0,"Andrews, Mr. Thomas Jr","male",3 |
// Find all occurences | |
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36'.match(/\((.*?)\)/g) | |
[ '(Macintosh; Intel Mac OS X 10_7_5)', '(KHTML, like Gecko)' ] |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Date: Feb. 16 2015 | |
Author: Christy Okpo <ecokpo@gmail.com> | |
Project: Implement the Needleman-Wunsch algorithm for pair-wise alignments. | |
Purpose: This implementation demonstrates how to align two nucleotides | |
sequences using the Needleman-Wunsch algorithm developed by Saul B. Needleman | |
and Christian D. Wunsch. |