twosigma / twosigma/beakerx

Not displaying datetime objects correctly

Open
#6,776 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
2.9k
Forks
383
PR merge metrics
No merged PRs in 30d

Description

I thought I would leave a post regarding the incorrect display of some `datetime` objects in a pandas data frame. I have checked my code and the format that I've specified. When working in an IDE, those objects are displayed fine, but while using `beakerx` on Jupyter, the dates are displayed without any breaks or hyphenations.

`import pandas as pd`
`from beakerx import *`

`simple_date = '2011-09`
`type(simple_date)`
`String`

Assume that `simple_date` is a column in a pandas data frame. When running `pd.to_datetime(simple_date, format = %Y-%m)`, the notebook (using beakerx) displays it as `20110901 00:00:00` which is only partially correct with no hyphenations while using an IDE (Spyder in my case) displays it fine as `2011-09-01 00:00:00`.

Searched it on the internet but didn't find anything related, so I thought I would leave a thread under issues and perhaps this will be tagged as a missing feature?

Regards,
Shivendra

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.