python-pandas-numpy-matplotlib

##Python

  1. string operation: var means variable
  • var.strip() # remove white space from the beggining and ending
  • var.replace("first","second") # replace string
  • var.split("separator") # split string and make list by "separator"
  • var.find("pattern") #find specific pattern and return starting index