File: namespace.py

package info (click to toggle)
python-xarray 2026.01.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,676 kB
  • sloc: python: 120,278; 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))