percent_nocturnal

bandicoot.individual.percent_nocturnal(records, user)

The percentage of interactions the user had at night.

By default, nights are 7pm-7am. Nightimes can be set in User.night_start and User.night_end.