scipy.stats.mstats.argstoarray

scipy.stats.mstats.argstoarray(*args)

Constructs a 2D array from a sequence of sequences. Sequences are filled with missing values to match the length of the longest sequence.

Returns:

output : MaskedArray

a (mxn) masked array, where m is the number of arguments and n the length of the longest argument.