UniqueIdGenerator#

class caf.toolkit.pandas_utils.random.UniqueIdGenerator(name, length, starting_val=0)[source]#

Generates a set of unique ID.

Attributes

starting_val

Starting value for ID.

name

Name to be used as resultant series label.

length

Number of rows to create.

Methods

__init__(name, length[, starting_val])

generate(generator)

Generate data using the generator provided and specifications define in the attributes.

Attributes Documentation

Parameters:
starting_val: int[source]#

Starting value for ID.

name: str[source]#

Name to be used as resultant series label.

length: int[source]#

Number of rows to create.