remove_empty_values

remove_empty_values#

remove_empty_values(list_with_empty_values: list) list[source]#

Remove empty values from list.

Parameters:

list_with_empty_values (list) – List with empty values

Returns:

Curated list

Return type:

list

Example

>>> lst = ["A", "T", "R", "", 3, None]
>>> list_to_dict(lst)
["A", "T", "R", 3]