<jupyter_start><jupyter_text>About this notebook@author: <NAME>This notebook shall be run to set the default kubeflow notebook<jupyter_code>import sys
print(f"Sys version: {sys.version}")<jupyter_output><empty_output><jupyter_text>Useful JupyterLab BasicBefore start, you may consider to update the jupyterlab with the commandpython!{sys.executable} -m pip install --upgrade --user jupyterlab      1. Autocomplete syntax with "Tab"2. View Doc String with "Shift + Tab"3. mark the code snippet -> select with right mouse -> Show Contextual Help (see the function code)<jupyter_code># upgrade jupyter lab
!{sys.executable} -m pip install --upgrade --user jupyterlab==3.2.8<jupyter_output><empty_output><jupyter_text>Restart this notebook server* Stop kernel* close Notebook* close JupyterLab Tab* Stop the JupyterLab Server in KubeFlow Notebook* Start the JupyterLab Server in KubeFlow Notebook<jupyter_code># Know you shall see the Jupyter Lab is updated
!{sys.executable} -m pip show jupyterlab # 3.0.16<jupyter_output><empty_output><jupyter_text>Install packages in Jupter notebookhttps://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/<jupyter_code># Install a pip package in the current Jupyter Kernel
# import sys
!{sys.executable} -m pip install --user numpy tensorflow panda<jupyter_output><empty_output><jupyter_text>Running TensorFlow code<jupyter_code>import tensorflow as tf
print("TensorFlow version:", tf.__version__)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09219380888290714, 'fraction_numerical': 0.012113055181695828, 'mean_word_length': 6.586734693877551, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 24, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '69175', 'license': 'Apache-2.0', 'n_tokens_mistral': 503, 'n_tokens_neox': 487, 'n_words': 143, 'path': 'utilities/setup_kf_platform.ipynb', 'repo_name': 'careforrare/kf-pipelines', 'size': '1493'}