Person
Bases: DestinationTable
CDM Person object class
Source code in docs/CaRROT-CDM/source_code/carrot/cdm/objects/versions/v5_3_1/person.py
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
|
finalise(df, **kwargs)
¶
Overload the finalise function here for any specifics for the person table
Source code in docs/CaRROT-CDM/source_code/carrot/cdm/objects/versions/v5_3_1/person.py
32 33 34 35 36 37 |
|
get_df(**kwargs)
¶
Overload/append the creation of the dataframe, specifically for the person objects * year_of_birth is automatically converted to a year (int) * month_of_birth is automatically converted to a month (int) * day_of_birth is automatically converted to a day (int) * birth_datetime is automatically coverted to a datatime
Returns:
Type | Description |
---|---|
pandas.Dataframe: output dataframe |
Source code in docs/CaRROT-CDM/source_code/carrot/cdm/objects/versions/v5_3_1/person.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
|