Kotlin / Kotlin/dataframe

Rendering of a ValueColumn with Strings have a wrong indentation

Open
#296 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
1.1k
Forks
83
Avg merge
4d 12h
Merged PRs (30d)
30

Description

Not 100% sure what is going on, but there seems to be a slight misrendering of ValueColumns with Strings in Jupyter Notebook . The first row is left-aligned as you would expect, but the following rows have their values indented slightly more.

image

In the above screenshot you can see this happening for both GamePlayer vs. GameStep and SaveGame and also for Alice vs. Bob in the inlined dataframe.

It also seems to happen for a dataframe with only one ValueColumn:

image

Browser is Chrome Version 110.0.5481.100 (Official Build) (arm64)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the ValueColumn string-rendering case in a Jupyter Notebook using Chrome, including dataframes with multiple and single ValueColumns. Compare the first row with subsequent rows and confirm the work is done when all string values have consistent horizontal alignment.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, kotlin
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.