Skip to content

NumPy (hyper)cube view #13

@s-celles

Description

@s-celles

Hello Yuri,

I'm trying to view a NumPy 3D array with gtabview

a = np.array(np.random.random((3,4,5)))

Compare
gtabview
capture d ecran 2015-07-25 a 09 01 52

with

Spyder variables editor
capture d ecran 2015-07-25 a 09 02 23

With an hyper-cube (4 dimensions)

a = np.array(np.random.random((3,4,5,2)))

gtabview
capture d ecran 2015-07-25 a 09 04 06

Spyder variables editor
capture d ecran 2015-07-25 a 09 06 07
(which means that arrays with more than 3 dimensions can't be displayed)

Being able to view a (3D) cube will help to view a Pandas Panel as slice (and not only a flatten Panel as it's done actually).

An Excel file is also a kind of (3D) cube.

First dimension is sheetname
Second is row
Third is column

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions