ibex.data_source.imas_python_source_utils.pad_to_rectangular

ibex.data_source.imas_python_source_utils.pad_to_rectangular(lst)

Converts a nested list into a rectangular NumPy array by padding missing values with NaN.

Parameters:
lst

Nested list with uneven lengths.

Returns:

NumPy array with NaN padding.