pat2vec.pat2vec_search.test_data_helper_functions

Classes

TestDataHelperFunctions([methodName])

Unit tests for the data helper functions in the search module.

class pat2vec.pat2vec_search.test_data_helper_functions.TestDataHelperFunctions(methodName='runTest')[source]

Bases: TestCase

Unit tests for the data helper functions in the search module.

test_appendAge()[source]

Test calculating and appending current age.

test_appendAgeAtRecord()[source]

Test calculating and appending age at the time of a record.

test_append_age_at_record_series()[source]

Test calculating age at record time for a single pandas Series (row).

test_df_column_uniquify()[source]

Test ensuring unique column names in a DataFrame.