Materialize the Query Result for Performance
Published:
Tags:
Summary: Materialize the query result for multistage queries to make your query faster and lower the costs.
Generate a Column of Continuous Dates in BigQuery
Published:
Tags:
Summary: Generate a table with a column of continuous dates
Calculate Moving Average Using SQL/BigQquery
Published:
Tags:
References:
- Getting table metadata using INFORMATION_SCHEMA
Summary: Snippet for calculating moving avg using sql/biguqery
BigQuery Meta Tables
Published:
Tags:
References:
- Getting table metadata using INFORMATION_SCHEMA
Summary: Meta tables are very useful when it comes to get bigquery table information programmatically.
Auto-reload Python Packages or Python Modules in Jupyter Notebook
Published:
Tags:
Summary: Python package or python module autoreloading in jupyter notebook
Add New Kernels to Jupyter Notebook in Conda Environment
Published:
Tags:
Summary: Python package or python module autoreloading in jupyter notebook
Installing requirements.txt in Conda Environments
Published:
Tags:
References:
- Use 'pip install' in the virtual environment created by conda
- Managing environments — conda documentation.
Summary: Why is pip install -r requirements.txt not working in conda?
Add Data Files to Python Package
Published:
Tags:
References:
- Including non-Python files with setup.py
Summary: Add Data Files to Python Package using manifest.in and setup.py
Flatten 2D List in Python
Published:
Tags:
References:
- How to make a flat list out of list of lists
Summary: Flatten 2D list using sum
VSCode on Mac Long Press Keys Not Repeating
Published:
Tags:
Summary: Enable your key repeat in vscode on mac in the terminal
Python Reliable Path to File
Published:
Tags:
References:
- How to reliably open a file in the same directory as a Python script @ StackOverflow
- Miscellaneous operating system interfaces @ The Python Standard Library
- os.path — Common pathname manipulations
Summary: Find the actual path to file
Python Datetime on Different OS
Published:
Tags:
Summary: Python datetime on different os behaves inconsistently
Pandas with MultiProcessing
Published:
Tags:
Summary: Adding new data to dataframe using multiprocessing
Copy Scalars and Lists in Python
Published:
Tags:
Summary: Python copy values of scalars but addresses of lists