From 2e0b546c632b28db903cf33d2b664f8de9d2f11d Mon Sep 17 00:00:00 2001 From: Quarto GHA Workflow Runner Date: Fri, 5 Jul 2024 07:27:28 +0000 Subject: [PATCH] Built site for gh-pages --- .nojekyll | 2 +- python-snippet/Index.html | 92 ++++++++++++++++++------------------- sitemap.xml | 96 +++++++++++++++++++-------------------- 3 files changed, 95 insertions(+), 95 deletions(-) diff --git a/.nojekyll b/.nojekyll index 367ed4b..2fab50c 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -8341805f \ No newline at end of file +44e67fc2 \ No newline at end of file diff --git a/python-snippet/Index.html b/python-snippet/Index.html index 0b0f65d..b1a41b5 100644 --- a/python-snippet/Index.html +++ b/python-snippet/Index.html @@ -556,70 +556,70 @@

1.1.1. Create con -
conda create -n python38 python=3.8.5 pip=20.2.4 ipykernel notebook
-conda activate python38
+
conda create -n python38 python=3.8.5 pip=20.2.4 ipykernel notebook
+conda activate python38
-
name: env_ascore
-channels:
-  - conda-forge
-  - defaults
-dependencies:
-  - python=3.8
-  - pandas==1.4.4  
-  - joblib==1.1.0
-  - statsmodels==0.13.2
-  - ipykernel
-  - zipp  
-  - pip
-  - pip: 
-    - optbinning==0.17.3
-    - ortools==9.4.1874
-# conda env create -f environment.yaml  
-# conda env remove -n env_ascore
-# set https_proxy=10.1.33.23:8080
-# set http_proxy=10.1.33.23:8080
-# conda install -n env_ascore ipykernel --update-deps --force-reinstall
+
name: env_ascore
+channels:
+  - conda-forge
+  - defaults
+dependencies:
+  - python=3.8
+  - pandas==1.4.4  
+  - joblib==1.1.0
+  - statsmodels==0.13.2
+  - ipykernel
+  - zipp  
+  - pip
+  - pip: 
+    - optbinning==0.17.3
+    - ortools==9.4.1874
+# conda env create -f environment.yaml  
+# conda env remove -n env_ascore
+# set https_proxy=10.1.33.23:8080
+# set http_proxy=10.1.33.23:8080
+# conda install -n env_ascore ipykernel --update-deps --force-reinstall
-
conda list --export > requirements.txt
-conda install --file requirements.txt
+
conda list --export > requirements.txt
+conda install --file requirements.txt

1.1.2. Conda common commands

  • Conda environment list
-
conda info --env
+
conda info --env
  • Remove conda environment
-
conda deactivate
-conda env remove -n python38
+
conda deactivate
+conda env remove -n python38
  • Activate conda environment
-
conda activate python38
+
conda activate python38
  • Clean unused library
-
conda clean --all
-pip cache remove *
+
conda clean --all
+pip cache remove *

1.2. Create environment for jupyter notebook

1.2.1. create

-
conda activate python38
-ipython kernel install --user --name=python38
+
conda activate python38
+ipython kernel install --user --name=python38

1.2.2. Remove jupyter notebook environment (require run as administrator)

-
jupyter kernelspec list
-jupyter kernelspec uninstall python38 
+
jupyter kernelspec list
+jupyter kernelspec uninstall python38 
@@ -632,20 +632,20 @@

pip download -r requirements.txt -d wheel
+
pip download -r requirements.txt -d wheel
-
pip install -r requirements.txt --find-links=D:\wheel --no-index
+
pip install -r requirements.txt --find-links=D:\wheel --no-index

2.2. Install OFFLINE Linux package

Activate same version python (i.e 3.7.0) and type command following

-
pip download --platform manylinux1_x86_64 --only-binary=:all: --no-binary=:none: pandas
+
pip download --platform manylinux1_x86_64 --only-binary=:all: --no-binary=:none: pandas

2.3. Export requirements

-
pip list --format=freeze > requirements.txt
+
pip list --format=freeze > requirements.txt
@@ -653,28 +653,28 @@

3. Install Extension for jupyter notebook

  • nbextension
-
pip install jupyter_contrib_nbextensions
-pip install jupyter_nbextensions_configurator
-jupyter contrib nbextension install --user
-jupyter nbextensions_configurator enable --user
+
pip install jupyter_contrib_nbextensions
+pip install jupyter_nbextensions_configurator
+jupyter contrib nbextension install --user
+jupyter nbextensions_configurator enable --user

4. Other ultilities command

check dependencies

-
python -m pip check 
-pip freeze > requirements.txt
+
python -m pip check 
+pip freeze > requirements.txt

install pycaret

-
pip install pycaret --use-feature=2020-resolver
+
pip install pycaret --use-feature=2020-resolver

Themes

  • jupyter notebook
-
jt -t onedork -fs 13 -altp -tfs 14 -nfs 14 -cellw 88% -T
+
jt -t onedork -fs 13 -altp -tfs 14 -nfs 14 -cellw 88% -T
diff --git a/sitemap.xml b/sitemap.xml index d1b38a0..afc2fb2 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,194 +2,194 @@ https://nguyenngocbinh.github.io/snippets/Crash-Course-Matplotlib/Exercise 3 - Matplotlib.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/sqlserver-snippet/permissions.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/comparision/dplyr-pandas.html - 2024-07-05T07:01:08.230Z + 2024-07-05T07:26:37.060Z https://nguyenngocbinh.github.io/snippets/comparision/ggplot2-matplotlib.html - 2024-07-05T07:01:08.230Z + 2024-07-05T07:26:37.060Z https://nguyenngocbinh.github.io/snippets/index.html - 2024-07-05T07:01:08.246Z + 2024-07-05T07:26:37.076Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Pandas/05-Operations.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Pandas/01-Series.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Pandas/03-Missing-Data.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Pandas/00-Intro-to-Pandas.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Python/Exercise 1 - Python.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/python-snippet/Ultilities.html - 2024-07-05T07:01:08.250Z + 2024-07-05T07:26:37.076Z https://nguyenngocbinh.github.io/snippets/python-snippet/Environment.html - 2024-07-05T07:01:08.246Z + 2024-07-05T07:26:37.076Z https://nguyenngocbinh.github.io/snippets/python-snippet/convertLightGBMFromR2Python.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/python-snippet/VisualizeFeatureImportances.html - 2024-07-05T07:01:08.250Z + 2024-07-05T07:26:37.080Z https://nguyenngocbinh.github.io/snippets/python-snippet/Code-optimize.html - 2024-07-05T07:01:08.246Z + 2024-07-05T07:26:37.076Z https://nguyenngocbinh.github.io/snippets/python-snippet/Statistics.html - 2024-07-05T07:01:08.250Z + 2024-07-05T07:26:37.076Z https://nguyenngocbinh.github.io/snippets/python-snippet/beeswarm_strip_violin_plot.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/r-snippet/DT.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/r-snippet/create_package.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/r-snippet/dplyr.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/r-snippet/treemap.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/r-snippet/file_folders.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Numpy/00-NumPy-Arrays.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Numpy/03-NumPy-Exercises.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Numpy/02-NumPy-Operations.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Numpy/01-NumPy-Indexing-and-Selection.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/r-snippet/gganimate.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/r-snippet/mamba.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/r-snippet/reticulate.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/r-snippet/ggplot2.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/r-snippet/index.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/r-snippet/database.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/python-snippet/slopegraph.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/python-snippet/Graphs.html - 2024-07-05T07:01:08.246Z + 2024-07-05T07:26:37.076Z https://nguyenngocbinh.github.io/snippets/python-snippet/REST_API.html - 2024-07-05T07:01:08.250Z + 2024-07-05T07:26:37.076Z https://nguyenngocbinh.github.io/snippets/python-snippet/JupyterNotebookFormat.html - 2024-07-05T07:01:08.246Z + 2024-07-05T07:26:37.076Z https://nguyenngocbinh.github.io/snippets/python-snippet/Modelling.html - 2024-07-05T07:01:08.246Z + 2024-07-05T07:26:37.076Z https://nguyenngocbinh.github.io/snippets/python-snippet/Index.html - 2024-07-05T07:01:08.246Z + 2024-07-05T07:26:37.076Z https://nguyenngocbinh.github.io/snippets/machine-learning/transformer.html - 2024-07-05T07:01:08.246Z + 2024-07-05T07:26:37.076Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Pandas/09-Pandas-Exercises-2.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Pandas/07-Pandas-Exercises-1.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Pandas/04-Groupby.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Pandas/06-Data-Input-and-Output.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/Crash-Course-Pandas/02-DataFrames.html - 2024-07-05T07:01:08.186Z + 2024-07-05T07:26:37.016Z https://nguyenngocbinh.github.io/snippets/comparision/plsql-db2.html - 2024-07-05T07:01:08.230Z + 2024-07-05T07:26:37.060Z https://nguyenngocbinh.github.io/snippets/comparision/Index.html - 2024-07-05T07:01:08.230Z + 2024-07-05T07:26:37.060Z https://nguyenngocbinh.github.io/snippets/sqlserver-snippet/Index.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z https://nguyenngocbinh.github.io/snippets/sqlserver-snippet/synonym.html - 2024-07-05T07:01:08.254Z + 2024-07-05T07:26:37.084Z