Advanced Usage
Backend Selection
You can explicitly choose the execution backend to optimize for your specific use case.
# Force pure Python backend (streaming, low memory)
query("large_file.csv").sql("SELECT *", backend="python")
# Force Pandas backend (fast, high memory)
query("data.csv").sql("SELECT *", backend="pandas")
S3 Configuration
To access S3, ensure you have s3fs installed and your AWS credentials configured.
Then simply use s3:// paths.
Custom Readers
You can implement custom readers by inheriting from BaseReader. This allows you to support proprietary formats or custom data sources.