SciPy

scipy.stats.mstats.argstoarray

scipy.stats.mstats.argstoarray(*args)[source]

Constructs a 2D array from a group of sequences.

Sequences are filled with missing values to match the length of the longest sequence.

Parameters
argssequences

Group of sequences.

Returns
argstoarrayMaskedArray

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

Notes

numpy.ma.row_stack has identical behavior, but is called with a sequence of sequences.

Previous topic

scipy.stats.mstats.zscore

Next topic

scipy.stats.mstats.count_tied_groups