Cheat Sheet for Data Manipulation with Python for Machine Learning and Data Science

Quick and Easy Way to get started with common and most used python tasks in data processing


File Input / Output



will create new file if does not exist, otherwise will append
use a for append, w - write, wb - write byte-like object
Additionally select needed columns, rows from dataframe

python data processing for machine learning and data science

Pandas Dataframe and Array

How to navigate display, navigate dataframe. How to do one-hot encoding .
pandas.DataFrame is two-dimensional size-mutable tabular data structure with labeled axes
Displaying Pandas DataFrame

JSON and API Data

Cheat Sheet for Data Manipulation with Python for Machine Learning and Data Science
*** The cheat sheet will be constantly updating with new code snippets.
Machine Learning Applications      Text Analytics Techniques
Comments, suggestions - use this link