dbldatagen.datarange module

This module defines the DataRange abstract class

its not used directly, but used as base type for explicit DateRange and NRange types to ensure correct tracking of changes to method names when refactoring

class DataRange[source]

Bases: object

Abstract class used as base class for NRange and DateRange

adjustForColumnDatatype(ctype)[source]

Adjust default values for column output type

getContinuousRange()[source]

Convert range to continuous range

getDiscreteRange()[source]

Convert range to discrete range

getScale()[source]

Get scale of range

isEmpty()[source]

Check if object is empty (i.e all instance vars of note are None)

isFullyPopulated()[source]

Check is all instance vars are populated

property max

get the max attribute

property min

get the min attribute