normalize-lists

Normalizes lists of different lengths


Keywords
Normalize, lists, list, python
License
MIT
Install
pip install normalize-lists==0.10

Documentation

Normalizes lists of different lengths

from normalize_lists import normalize_lists
print(normalize_lists([55,22,44], [44,33], [11], fill_value=None))
[[11, None, None], [44, 33, None], [55, 22, 44]]