MergeNpConcatenate¶
-
class
astropy.utils.metadata.
MergeNpConcatenate
[source] [edit on github]¶ Bases:
astropy.utils.metadata.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
enabled
types
Methods Summary
merge
(left, right)Attributes Documentation
-
enabled
= True¶
-
types
= [(<type 'numpy.ndarray'>, <type 'numpy.ndarray'>), (<type 'numpy.ndarray'>, (<type 'list'>, <type 'tuple'>)), ((<type 'list'>, <type 'tuple'>), <type 'numpy.ndarray'>)]¶
Methods Documentation
-
classmethod
merge
(left, right)[source] [edit on github]¶
-