()
| 2780 | return (this.byteorder === '=' ? '<' : this.byteorder) + this.kind + this.itemsize.toString(); |
| 2781 | } |
| 2782 | get name() { |
| 2783 | switch (this.kind) { |
| 2784 | case 'V': return `void${this.itemsize === 0 ? '' : (this.itemsize * 8)}`; |
| 2785 | case 'S': return `bytes${this.itemsize === 0 ? '' : (this.itemsize * 8)}`; |
| 2786 | case 'U': return `str${this.itemsize === 0 ? '' : (this.itemsize * 8)}`; |
| 2787 | case 'T': return `StringDType${this.itemsize === 0 ? '' : (this.itemsize * 8)}`; |
| 2788 | case 'M': return 'datetime64'; |
| 2789 | case 'm': return 'timedelta64'; |
| 2790 | case 'b': return 'bool'; |
| 2791 | default: return this.__name__; |
| 2792 | } |
| 2793 | } |
| 2794 | __setstate__(state) { |
| 2795 | switch (state.length) { |
| 2796 | case 8: |
no test coverage detected