NSDLib
Contents:
Introduction
Quick start
Contributing
Code of conduct
Reference
nsdlib package
Subpackages
Submodules
nsdlib.commons module
nsdlib.setup module
nsdlib.source_detection module
nsdlib.taxonomies module
nsdlib.version module
Module contents
NSDLib
src
nsdlib package
nsdlib.commons module
View page source
nsdlib.commons module
nsdlib.commons.
normalize_dict_values
(
data
:
Dict
[
any
,
float
]
)
→
Dict
[
any
,
float
]
[source]
Normalize dictionary values to the range [0, 1].
nsdlib.commons.
sort_dict_by_value
(
data
:
Dict
[
any
,
any
]
,
reverse
=
True
)
→
Dict
[
any
,
any
]
[source]
Sort a dictionary by its values.