pygraphistry icon indicating copy to clipboard operation
pygraphistry copied to clipboard

[FEA] add flag to switch between string and numerical type col for group-in-box

Open mj3cheun opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. string type will result in a histogram listing the x most common cols in graphistry ui numerical type will result in a histogram showing binned intervals from min to max value in graphistry ui

both can be useful depending on use case, it would be great for a user to be able to switch between the two depending on the situation

see here for how to do the type coersion https://github.com/graphistry/pygraphistry/commit/cdd1278c2b9f0ba814c4eae960b2aac234fdd0c2

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

mj3cheun avatar Oct 16 '24 23:10 mj3cheun

@mj3cheun this feels more like a graphistry thing than a pygraphistry, right?

  • in ui, the ability to change the kind of histogram
  • in the REST protocol, maybe give hints at this, or maybe make it explicit via arrow supporting something like categorical column types, and we propagate through? see dictionary type @ https://arrow.apache.org/docs/python/data.html

lmeyerov avatar Oct 17 '24 00:10 lmeyerov