import jenkspy from jenkspy import JenksNaturalBreaks jnb = JenksNaturalBreaks()
x = any list of numbers, for example a random list