pygraphistry icon indicating copy to clipboard operation
pygraphistry copied to clipboard

[BUG] g2.search(..., fuzzy=True, cols=['title','text'] ), AssertionError: ydf must be provided to transform data

Open maksim-mihtech opened this issue 9 months ago • 2 comments

Describe the bug It seems, exact match(fuzzy=False) works well, but for fuzzy=True it fails giving the following error: AssertionError: ydf must be provided to transform data

To Reproduce Code, including data, than can be run without editing:

Ask-HackerNews-Demo.ipynb

g2 = g.umap(X=['title','text']..... ) g2.search(..., fuzzy=True, cols=['title','text'] ),


**Expected behavior**
What should have happened

**Actual behavior**
What did happen

AssertionError: ydf must be provided to transform data

**Screenshots**
This problem could be fixed, look at attached picture 

**Browser environment (please complete the following information):**
 - OS: [e.g. MacOS]
 - Browser [Firefox]
 - Version [e.g. 22]

**Graphistry GPU server environment**
 - Where run [Hub]
 - If self-hosting, Graphistry Version [e.g. 0.14.0, see bottom of a viz or login dashboard]
- If self-hosting, any OS/GPU/driver versions

**PyGraphistry API client environment**
 - Where run [e.g., Graphistry 2.35.9 Jupyter]
 - Version [e.g. 0.14.0, print via `graphistry.__version__`]
 - 0.35.4+18.g60177c52.dirty(dev/dev-skrub branch)
 - Python Version [e.g. Python 3.7.7] 

**Additional context**
Add any other context about the problem here.
![Screen Shot 2025-01-04 at 9 03 30 AM](https://github.com/user-attachments/assets/2832ff03-e68f-499a-bff3-d6dd3a3cbc04)

maksim-mihtech avatar Jan 04 '25 17:01 maksim-mihtech