Package: datavision
datavisionPython data visualisationsetuppipinstalldatavisionqunti and zus listsQunti (群体, groups) are lists that actas dictionaries that can contain duplicate keys andas sets for the purposes of enabling set-like operations for qunti
objects, such as symmetric difference, intersection and update
operations.Qunti are composed of multiple zu (组, group) objects.qunti operationsIn an update operation, one qunti is used to update another. Any zus in
the updating qunti that are not in the updated qunti are appended to the
updated qunti. Any zus that are in the updating qunti and the updated
qunti replace the corresponding zus in the updated qunti.The following example illustrates a qunti update operation in which analphazus is replaced and adeltazus is appended:# example qunti update:a=[['alpha','10'],['beta','20'],['gamma','30'],['gamma','15']]b=[['delta','40'],['alpha','50']]# update of a with b:a=[['beta','20'],['gamma','30'],['gamma','15'],['delta','40'],['alpha','50']]The following example illustrates qunti symmetric difference,
intersection and update operations. In the update operation, two oldgammazus are replaced by a single newgammazu:# example qunti symmetric difference, intersection and update:a=[['alpha','10'],['beta','20'],['gamma','30'],['gamma','15']]b=[['delta','40'],['alpha','50'],['gamma','25']]# symmetric difference of a and b:[['beta','20'],['delta','40']]# intersection of a and b:[['alpha','10'],['gamma','30'],['gamma','15'],['alpha','50'],['gamma','25']]# update of a with b:a=[['beta','20'],['delta','40'],['alpha','50'],['gamma','25']]data visualisationDatavision provides utilities for data visualisation.matrices as colormapshistogramsterminal graphs and histograms│
   ┼+79.548                                                                 ○
   │
   │                                                                ○
   │
   │                                                        ○
   │
   │                                                ○
   ◽       ◽       ◽                       ○
   │                       ◽       ○
   │                       ○       ◽
───○┼──────○───────○───────────────────────◽────────────────────────────────┼───
   │ +0.046                                         ◽               +8.97638
   │
   │                                                        ◽
   │
   │                                                                ◽
   ┼-48.228
   │                                                                        ◽
   ││
                         ┼+75503.2
                       ∘∘|∘
                      ∘||||∘
                      ||||||∘
                     ∘|||||||
                     ||||||||∘
                    ∘|||||||||
                    ||||||||||∘
                   ∘|||||||||||
                   |||||||||||∘
                  ∘||||||||||||
                  |||||||||||||∘
                  ||||||||||||||∘
                 ∘|||||||||||||||∘
                ∘|||||||||||||||||∘
               ∘|||||||||||||||||||∘
            ∘∘∘||||||||||┼+1603.2|||∘∘∘
──┼--------------------------------------------┼──
   -4.69099              │              +4.6147echo"0,  1,  4,  9, 16, 25, 36, 49, 64, 81"|datavision_TTY_plot.pycombinations of variablesparallel coordinatesFFTtime graphsBollinger bandsgraphsdatabasesDatavision features some scripts for interacting with databases:change_field_name_database_SQLite.pyduplicates_database_SQLite.pyview_database_SQLite.py