Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

DuckDB

Prerequisites

Writing scripts for DuckDB requires the use of the appropriate package, handled with miniconda environments. Refer to Miniconda.

Activating Environment

Writing Python scripts for DuckDB requires the use of the DuckDB package, installed with miniconda.

Activating your miniconda environment can be handled using two methods:

Manual Activation:

conda activate env_duckdb

Requires initial miniconda setup: Miniconda

Automatic Activation:

Create a bash script to run your target script using the appropriate Python package environment.

/network/rit/lab/info-eco/miniconda/envs/<Environment Name>/bin/python /path/to/script

Info

Interacting with DuckDB can be done using Python, documenation located at DuckDB Python. Scripts should be written to use the correct file format, currently parquet.

DuckDB Docs is the official documentation for DuckDB.