Skip to content

Instantly share code, notes, and snippets.

View Andre-Tan's full-sized avatar

Andre Tan Andre-Tan

View GitHub Profile
@Andre-Tan
Andre-Tan / 2024Mar31 - Pandas Styling.ipynb
Last active April 2, 2024 15:12
Short Notes on Possibilities in Pandas Table Visualization
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Andre-Tan
Andre-Tan / 2024Mar23 - Binning for Target Encoding.ipynb
Last active March 22, 2024 18:38
Visualizing the difference in using Pandas Qcut and Cut function for target encoding
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Andre-Tan
Andre-Tan / 2023Oct22-EvidentlyReport.ipynb
Last active October 22, 2023 06:17
Quick Go-through of Evidently AI for Data and ML Model Monitoring
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Andre-Tan
Andre-Tan / install_fresh_miniconda.sh
Created October 7, 2023 18:50
Steps to install fresh Miniconda for Jupyter Notebook, and how to use virtual environments
'
A pipeline to do fresh installation of Miniconda.
'
# Download and run the bash script to your intended version of miniconda. Here being latest for Linux OS.
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
# Install Jupyter & Extension so conda can use other virtual environments
conda install jupyter
@Andre-Tan
Andre-Tan / 2022Jul07-PandasGroupby.ipynb
Last active October 21, 2023 19:30
Tutorial on Pandas Groupby and Pivot function
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Andre-Tan
Andre-Tan / 2022May28-CatBoostBuiltInExplainability.ipynb
Last active May 28, 2022 20:50
Summary of CatBoost Built-in Explainability Features
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Andre-Tan
Andre-Tan / install_nbextensions_sagemaker.sh
Last active January 22, 2022 17:16
2022Jan22-Enabling_jupyter_contrib_nbextensions_in_Sagemaker_Notebook
'
This is a quick shortcut to enable jupyter_contrib_nbextensions in AWS SageMaker Notebook instance.
The correct way is to have the installation script as part of the instance Lifecycle Config.
Apparently you can do without, but as with virtual environments in AWS Sagemaker, you lose it if you kill the instance.
'
# Check whether vanilla nbextension is there or not
jupyter nbextension list
@Andre-Tan
Andre-Tan / 2021Dec26-PandasPlotting.ipynb
Last active August 19, 2022 02:33
A quick go-through of Directly Plotting in Pandas
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.