Data Science Toolkit (Concepts + Code) – HackerNoon.com

Karan Jagota
source : https://en.wikipedia.org/wiki/Data_science#/media/File:Kernel_Machine.svg
Image : Jupyter Notebook example
source : https://gist.github.com/karanjagota/7b5ee888d8a259c39188e4988f1af318

Reading Files

source : https://gist.github.com/karanjagota/6c367ff0fd557e0a996bd50cf8e83c0c
Output Image

Subsetting:

source : https://gist.github.com/karanjagota/25ec6164f072c7f852460cb6de567f0a
output: subsetting using loc and iloc methods

Reshaping DataFrame

source : https://gist.github.com/karanjagota/ad01cf4f76ec146e4bc69c1304a25364
Output : Implementation of melt() method . DataFrame Converted to vertical format from horizontal format

Combining DataFrames

source: https://gist.github.com/karanjagota/1ecbd6190c7c2586afe9fb719bfe8178
Output Image: Merging DataFrame [1 and 2]
source: https://gist.github.com/karanjagota/db0531d28bf7596e4f828d9078f7db4a

read original article here