question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Binary columns rendered as boolean values

See original GitHub issue

System Information

  • OS: MacOS 12.5.1
  • Python version: 3.10.6
  • Python environment: pip
  • Using jupyter: true
  • Datapane version: 0.15.0

Bug / Issue

When using dataframes, binary columns are rendrered as boolean values ex:

dp.DataTable( pd.DataFrame( { 1: [1, 0, 0, 1], 2: [1, 0, 0, 1], 3: [1, 0, 0, 1], 4: [1, 0, 0, 1], 5: [1, 0, 0, 1], 6: [1, 0, 0, 1], } ) ) Will be rendered as: 1 2 … True True … False False. …

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tr31zhcommented, Sep 23, 2022

Hi @shahinrostami , I’ve just checked, everything looks fine. Thank you!

1reaction
shahinrostamicommented, Sep 6, 2022

Just a heartbeat to confirm that I’ll be picking this one up today 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ext.grid.column.Boolean | Ext JS 6.2.0 - Sencha Documentation
A Column definition class which renders boolean data fields. ... Sets the alignment of the header and rendered columns. Possible values are: 'start' ......
Read more >
Bit vs. Boolean columns - mysql - DBA Stack Exchange
Personally, I would use the BOOLEAN for a boolean value. But keep in mind the caveat that in MySQL, BOOLEAN is just a...
Read more >
Show boolean value in dynamically generated datatable ...
I am using PrimeReact Datatables and creating the columns dynamically from JSON. How do I render Boolean values in the table?
Read more >
SQL Boolean Data Type - Database Star
A boolean is a data type that can store either a True or False value. This is often stored as 1 (true) or...
Read more >
Boolean Indexing in Pandas - GeeksforGeeks
Accessing a DataFrame with a boolean index; Applying a boolean mask to a dataframe; Masking data based on column value; Masking data based...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found