File: namespace.py

package info (click to toggle)
python-xarray 2025.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,160 kB
  • sloc: python: 118,690; makefile: 269
file content (5 lines) | stat: -rw-r--r-- 161 bytes parent folder | download | duplicates (3)
1
2
3
4
5
from xarray.core import duck_array_ops


def reshape(array, shape, **kwargs):
    return type(array)(duck_array_ops.reshape(array.array, shape=shape, **kwargs))