Numpy
1 min read
Updated:
Note
np.c_[arr1, arr2, arr3])
does not preserve dtypes, so avoid them if the arrays are of different types. E.g. never use it to construct pandas dataframes.
np.c_[arr1, arr2, arr3])
does not preserve dtypes, so avoid them if the arrays are of different types. E.g. never use it to construct pandas dataframes.