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

Create "Select All" option when selecting Duplicates #847

Closed aschonfeld closed 5 months ago

aschonfeld commented 8 months ago
          When there are so many variables, it can be really tiring to choose each one one by one. It would be great if there was an option to select all to see and delete duplicate rows.

Originally posted by @T-a-c-h-y-o-n in https://github.com/man-group/dtale/issues/840#issuecomment-1893251142

aschonfeld commented 5 months ago

@T-a-c-h-y-o-n any chance you can send an example where you have a lot of variables in the duplicates popup? So far only instance I can see is when you have "Show Duplicates" selected for example: image

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

Hello, the problem here is to enter each variable one by one to find the duplicate values ​​in many variables. Frankly, I don't fully understand your question. But it would be nice if there was an option to select all at the bottom of the column(s) section in that image, instead of selecting them one by one, and they would all appear in that section.

aschonfeld commented 5 months ago

@T-a-c-h-y-o-n Ok, now I understand. Thank you

aschonfeld commented 5 months ago

how's this? Also this is only for "Show Duplicates" do I need to add this button to the other duplicate operations

https://github.com/man-group/dtale/assets/11547371/f0c48fcf-c0c8-476d-b59e-32d8317a0093

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

It's great, just what we wanted.

aschonfeld commented 5 months ago

@T-a-c-h-y-o-n this feature has been added in v3.12.0. Let me know if you have any issues.