Skip to content

implement specifying number of column dimensions #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alixdamman opened this issue Jul 6, 2017 · 2 comments
Open

implement specifying number of column dimensions #14

alixdamman opened this issue Jul 6, 2017 · 2 comments

Comments

@alixdamman
Copy link
Contributor

larray-project/larray#141

@alixdamman
Copy link
Contributor Author

a small dropdown or spinbox would do. After we implement drag and drop of dimensions for transpose (#13), we could have a \ between row dimensions and columns dimensions and one could add/remove column dimensions by dragging them to either side of the .

@gdementen
Copy link
Collaborator

gdementen commented Jul 13, 2017

I guess the spinbox is more appropriate for a number, and if we move filters to the headers (like I would like to), this will still work. I do not see how we could make the \ option work in that case.

There still might be a way to implement this using drag-and-drop in the "header-filter" case, if we switch from:

 a   b   c
        c0  c1  c2
a0  b0   0   1   2
a0  b1   3   4   5
a1  b0   6   7   8
a1  b1   9  10  11

to

 a   b
     c  c0  c1  c2
a0  b0   0   1   2
a0  b1   3   4   5
a1  b0   6   7   8
a1  b1   9  10  11

we could drag a row dimension (eg "a") on the "c" row to move it to columns:

 b                     
 a  a0  a0  a0  a1  a1  a1        
 c  c0  c1  c2  c0  c1  c2
b0   0   1   2   6   7   8
b1   3   4   5   9  10  11

Or, we could switch to Pandas representation (ie column headers before row dimension names), which seems more readable in this case but which does not reflect the axis order easily (b, a, c in this case).

a  a0       a1        
c  c0 c1 c2 c0  c1  c2
b                     
b0  0  1  2  6   7   8
b1  3  4  5  9  10  11

@alixdamman alixdamman added this to the 0.26 milestone Aug 28, 2017
alixdamman added a commit to alixdamman/larray-editor that referenced this issue Sep 1, 2017
alixdamman added a commit to alixdamman/larray-editor that referenced this issue Sep 7, 2017
alixdamman added a commit to alixdamman/larray-editor that referenced this issue Sep 7, 2017
alixdamman added a commit to alixdamman/larray-editor that referenced this issue Sep 7, 2017
@alixdamman alixdamman removed this from the 0.26 milestone Sep 13, 2017
alixdamman added a commit to alixdamman/larray-editor that referenced this issue Sep 25, 2017
alixdamman added a commit to alixdamman/larray-editor that referenced this issue Sep 27, 2017
alixdamman added a commit to alixdamman/larray-editor that referenced this issue Sep 27, 2017
alixdamman added a commit to alixdamman/larray-editor that referenced this issue Oct 11, 2017
@alixdamman alixdamman self-assigned this Oct 13, 2017
@alixdamman alixdamman added this to the 0.27 milestone Oct 13, 2017
alixdamman added a commit to alixdamman/larray-editor that referenced this issue Oct 13, 2017
alixdamman added a commit to alixdamman/larray-editor that referenced this issue Oct 20, 2017
alixdamman added a commit to alixdamman/larray-editor that referenced this issue Oct 20, 2017
alixdamman added a commit to alixdamman/larray-editor that referenced this issue Oct 20, 2017
alixdamman added a commit to alixdamman/larray-editor that referenced this issue Oct 20, 2017
@alixdamman alixdamman modified the milestones: 0.27, 0.28 Nov 13, 2017
@alixdamman alixdamman modified the milestones: 0.28, 0.29 Nov 29, 2017
@alixdamman alixdamman removed this from the 0.29 milestone Jan 17, 2018
@alixdamman alixdamman added this to the nice_to_have milestone Mar 9, 2018
@gdementen gdementen removed this from the nice_to_have milestone Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants