fastpath to make a shallow copy, i.e. new object with same data.
(self)
| 777 | return self._simple_new(values, name=name, refs=self._references) |
| 778 | |
| 779 | def _view(self) -> Self: |
| 780 | """ |
| 781 | fastpath to make a shallow copy, i.e. new object with same data. |
| 782 | """ |
| 783 | result = self._simple_new(self._values, name=self._name, refs=self._references) |
| 784 | |
| 785 | result._cache = self._cache |
| 786 | return result |
| 787 | |
| 788 | @final |
| 789 | def _rename(self, name: Hashable) -> Self: |