Binary columns rendered as boolean values
See original GitHub issueSystem 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:
- Created a year ago
- Comments:8 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @shahinrostami , I’ve just checked, everything looks fine. Thank you!
Just a heartbeat to confirm that I’ll be picking this one up today 👍