watex.utils.funcutils.concat_array_from_list#

watex.utils.funcutils.concat_array_from_list(list_of_array, concat_axis=0)[source]#

Concat array from list and set the None value in the list as NaN.

Parameters
  • list_of_array – List of array elements

  • concat_axis (int) – axis for concatenation 0 or 1

Returns

Concatenated array with shape np.ndaarry( len(list_of_array[0]), len(list_of_array))

Return type

np.ndarray

Example

>>> import numpy as np
>>> from watex.utils.funcutils import concat_array_from_list
>>> np.random.seed(0)
>>> ass=np.random.randn(10)
>>> ass = ass2=np.linspace(0,15,10)
>>> concat_array_from_list ([ass, ass])