generation_scheme

generation_scheme(scheme='pew')

Generational-cohort definitions.

Returns the birth-year boundaries for a named generational scheme, for use by recode_generation(). The “pew” scheme uses the Pew Research Center boundaries: Silent (1928-45), Baby Boomer (1946-64), Gen X (1965-80), Millennial (1981-96), Gen Z (1997-2012) and Gen Alpha (2013+). To use different cut-offs, build your own data frame with from and label columns and pass it to recode_generation()’s scheme argument.

Parameters

Name Type Description Default
scheme str Scheme name. Currently “pew”. 'pew'

Returns

Name Type Description
pandas.DataFrame label, from (first birth year) and to (last birth year; inf for the open-ended youngest cohort).

See Also

recode_generation

Examples

>>> generation_scheme("pew")