-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] No repr for pandas.Timestamp in JupyterLab when using rich.pretty #1305
Labels
bug
Something isn't working
Comments
Found the problem. There will be a fix in the next release. |
Can you give 10.5.0 a try and let me know if that fixes it? |
1 task
netbsd-srcmastr
pushed a commit
to NetBSD/pkgsrc
that referenced
this issue
Jul 5, 2021
10.5.0: Fixed Fixed Pandas objects not pretty printing Textualize/rich#1305 Fixed Textualize/rich#1256 Fixed typing with rich.repr.auto decorator Fixed repr error formatting Textualize/rich#1326 Added Added new_line_start argument to Console.print Added Segment.divide method Added Segment.split_cells method Added segment.SegmentLines class
It does indeed, thank you very much! |
@willmcgugan I noticed an issue that might be related.
This works if I don't |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In JupyterLab, after globally enabling
rich
reprs, no repr is shown forpandas.Timestamp
objects. In both IPython and the default Python REPL, this problem does not occur.To Reproduce
Start JupyterLab:
$ jupyter lab
Create a new notebook and enable
rich
reprs -- either like this:Or like this:
Then enter the following code into the next cell and evaluate it:
No repr is shown. If the same code is run in a terminal REPL (both
ipython
andpython
), a repr is shown, as expected.Platform
Linux (Solus)
Diagnose
The text was updated successfully, but these errors were encountered: