ridgeplot._missing

Missing sentinel class.

class ridgeplot._missing._Missing(value)[source]

Bases: Enum

A singleton class that represents a missing value.

This implementation was mainly inspired by the discussions in #236 (typing), #40397 (pandas), and on the current implementation of pandas._libs.lib._NoDefault.

For reference, here are other discussions and implementations that were also considered:

MISSING = 'MISSING'