Open sebbyjp opened 6 months ago
Just wanted to bring it to your attention.
You call it a sequence here: https://www.pythonlikeyoumeanit.com/Module2_EssentialsOfPython/SequenceTypes.html but zero sized numpy arrays prohibit arrays from being Sequences.
isinstance(np.array([1,2]), collections.abc.Sequence) also returns False.
isinstance(np.array([1,2]), collections.abc.Sequence)
Just wanted to bring it to your attention.
You call it a sequence here: https://www.pythonlikeyoumeanit.com/Module2_EssentialsOfPython/SequenceTypes.html but zero sized numpy arrays prohibit arrays from being Sequences.
isinstance(np.array([1,2]), collections.abc.Sequence)
also returns False.