For data science coursera homework only.