Skip to main content

Posts

Showing posts from March, 2023

BQ Commands

HTML Table Generator Command Description Comments gcloud config unset auth/impoersonate_service_account  Unset Impersonate SA    gcloud config set auth/impersonate_service_account sa   Set Impersonate SA    gcloud config list  Gcloud Conifgutation list    bq query --project_id={project_id} --format=csv --use_legacy_sql=false 'select * from tbl'   Run SQL Query   

Creating New Conda Environments

 Creating New Conda Environments.. Create New Environment Activate Virtual Environment Install Packages if any Install Jupyter Notebook if needed to add this new environment as a kernel into your Jupyter Notebook. $conda create -n env-name python=3.8 numpy pandas -c https://repo.anaconda.com/pkgs/snowflake $conda activate env-name $conda install snowflake-snowpack-python $conda activate env-name pip install ipykernel python -m ipykernel install --name env-name