[Bug] Loading dataframe is not working
- Dominant language
- TypeScript
- Stars
- 12k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 66
Description
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
Run the demo in jupyter notebook
import pandas as pd
import keplergl
df = pd.read_csv('hex_data.csv')
%run hex_config.py
w1 = keplergl.KeplerGl(height=400, data={'data_1': df}, config=config)
w1
**Expected behavior**
expected a map with hex information is shown

**Screenshots**
But it shows nothing. If data={'data_1': df} is removed, a map can be displayed


**Desktop (please complete the following information):**
- OS: Windows 10
- Browser: Chrome
- Version: 116
Contributor guide
No contributing guide indexed for this repository
Research direction
Run the provided Jupyter notebook reproduction with pandas data loaded and compare it with the version that omits data={'data_1': df}. Trace why the map does not render when the dataframe is supplied; done means the map displays the expected hex information with the dataframe loaded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, pandas, python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100