load_toy_census

datasets.load_toy_census()

Toy policy census data

A tiny dataset containing 3 policies: one active, one terminated due to death, and one terminated due to surrender.

A data frame with 3 rows and 4 columns:

  • pol_num = policy number
  • status = policy status
  • issue_date = issue date
  • term_date = termination date

Returns

Type Description
polars.polars.DataFrame