man-group / dtale

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

Frequency table search problem #837

Closed T-a-c-h-y-o-n closed 5 months ago

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

Hi, In the new version, when I enter a value from the keyboard for the search, the d-tale table disappears completely. I wanted to try it in colab, but d-tale doesn't work at all in colab. ss.webm

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

The error in question is valid for numerical variables. Maybe it was there in previous versions, but I'm just noticing it.

aschonfeld commented 5 months ago

@T-a-c-h-y-o-n here's a workaround for using D-Tale in colab until I can publish a new version:

import pandas as pd
import dtale
import dtale.app as dtale_app

dtale_app.USE_COLAB = True
dtale.show(pd.DataFrame(dict(x=[1,2,3], y=[2,4,8]), host='0.0.0.0')

I'm going to start digging into that search bug...

aschonfeld commented 5 months ago

@T-a-c-h-y-o-n just released v3.10.0 to pypi (should be on conda-forge soon) with this fix included and the update for running D-Tale on colab without having to include host.