man-group / dtale

Visualizer for pandas data structures
http://alphatechadmin.pythonanywhere.com
GNU Lesser General Public License v2.1
4.72k stars 400 forks source link

can I use customize line to add new column otherwise only +-*/ buttom? #855

Closed Decode-Wang closed 3 months ago

Decode-Wang commented 5 months ago

The dataframe funcion , when i want to add new column, i can only use the following buttons ,such like column1 + column2, But my hope is to create another value with more complex such as 2column1+3column2-column3

T-a-c-h-y-o-n commented 5 months ago

To do this, you will need to do two separate operations, that is, first add column1 and column2 and then subtract the resulting column from the other column.

aschonfeld commented 5 months ago

Here's how you would do what you want

https://github.com/man-group/dtale/assets/11547371/06d023e7-a337-4be8-b3c8-a146d45d7bdc