Welcome!
Set up Flask app to implement GET and POST API Set up Flask app to implement GET and POST API
Flask app is one of the easiest ways to setup APIs on the server side for data engineering and data science purpose.Here
Data Prep and Visualization Example using matplotlib in Python Data Prep and Visualization Example using matplotlib in Python
Some simple ways to make histogram or line plots using matplotlib. # Install the pydataset package. This package gives u
2021-08-25
Add ssh key to access github and simple git commands Add ssh key to access github and simple git commands
Here are ways to add ssh key in Github, such that one can connect to github repositories without typing username and pas
2021-08-23
overlay histogram distributions using seaborn or matplotlib overlay histogram distributions using seaborn or matplotlib
In this example, we show two methods to overlay histogram distributions using seaborn and matplotlib separately. import
2021-07-26
robust method to parse time string to datetime using dateutil parser robust method to parse time string to datetime using dateutil parser
Convert time strings into datetime format coudd be very tedious, because we need to make sure the every new datafollow t
2021-07-14
dataframe histogram visualization with seaborn using countplot dataframe histogram visualization with seaborn using countplot
We often need to plot histograms to visualize distributions of certain features or variables.How to quickly obtain a use
2021-07-06
multi line plot with seaborn multi line plot with seaborn
In this example, we show to do multi-plot graph using seaborn.In addtion, some of the ways to change fonts sizes are als
2021-07-01
rare event encoding for categorical feature in machine learning in pandas dataframe rare event encoding for categorical feature in machine learning in pandas dataframe
If categorical features has too many values, it will generate too many features after encoding, such as one-hot encoding
2021-06-23
handles feature order in training and online production stage to avoid inconsistent error handles feature order in training and online production stage to avoid inconsistent error
In applying machine learning models in production stage, like lightGBM model or any models.While we all know the order o
2021-06-18
some handy functions to group continous variables and missing value imputation in dataframe some handy functions to group continous variables and missing value imputation in dataframe
Following example shows how to group age variable into groups,and some simple missing value imputaiton proecdures. There
2021-06-15
explode and expand rows to multiple rows or columns to multiple columns using pandas dataframe explode and expand rows to multiple rows or columns to multiple columns using pandas dataframe
import pandas as pd generate some example some datadata = [ [['python','C'],'John'],[[&#x
2021-06-14
aggregate features from different rows into one row in pandas dataframe aggregate features from different rows into one row in pandas dataframe
In many use cases, different features of the same event are stored in a table by multiple rows.multiple columns will ind
2021-06-12
27 / 28