Delays’s documentation

Engine

Models

flights.models.create_db()

Creates the DB schema.

Redis

I/O

flights.io.import_csv(csvfile, save=<function save_db>, sparse=False)

Imports data from CSV file.

Parameters:
  • csvfile – opened file
  • save – saving method, save_db or save_redis
  • sparse – degree of sparseness, the greater the sparser

Settings