MergeNpConcatenate#
- class astropy.utils.metadata.MergeNpConcatenate[source]#
Bases:
MergeStrategy
Merge
left
andright
objects using np.concatenate. This merge strategy is globally enabled by default.This will upcast a list or tuple to np.ndarray and the output is always ndarray.
Attributes Summary
Methods Summary
merge
(left, right)Attributes Documentation
- enabled = True#
- types = [(<class 'numpy.ndarray'>, <class 'numpy.ndarray'>), (<class 'numpy.ndarray'>, (<class 'list'>, <class 'tuple'>)), ((<class 'list'>, <class 'tuple'>), <class 'numpy.ndarray'>)]#
Methods Documentation