Skip to content

Using WrightTools.Data.split() on a 2D data object of shape (##, 1) along the ## length axis creates 1D data objects of shape (<=##,) #1250

Description

@DLafayetteII

See title. For example, splitting a data object of shape (972, 1) at one value along the 972 length axis generates a collection of two data objects of lengths (685,) and (287,), where intended behavior would be (685,1) and (287,1). In methods meant to allow for different slice widths, e.g. also (972, 3), or more generally written for 2D data, losing the original dimensionality for only slices of width 1 requires special case processing.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions