Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 517 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 517 Bytes

VarSeries

An utility to build and display variation series

Some examples

from varseries import DiscreteVS, ContinuousVS

v = DiscreteVS([1, 1, 1.11, 1.23, 2, 2.3, 4, 5.1, 5.1, 5 ... 8])
v.draw_polygon()
print(v.vs)  # Variation series representation
print(v.acc_frequencies)  # Accumulated frequencies list
# etc.

v1 = ContinuousVS(
    [1, 1, 1.11, 1.23, 2, 2.3, 4, 5.1, 5.1, 5 ... 8],
    precision=4
    )
v1.draw_hist()
v.draw_cumulate()
print(v.mode)  # Mode of the variation series
# etc