Show dicts and other types properly in Jupyter data viewer
See original GitHub issueOne of the biggest features of Spyder, is that the Variable explorer can show correctly various types of Python and is able to keep opening then when they are nested.
import numpy as np
from sklearn.preprocessing import MinMaxScaler
scaler=MinMaxScaler()
aaa={'a':'string',
'b':100,
'c':np.array([1,2,3]),
'd':{'e':[1,2,3,4]},
'f':scaler}
In Spyder
When I try to do the same in VSCode
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Data Viewer fails to show anything but simple lists and dicts
OS: Windows 10 but SSH'd to Ubuntu 16.04. Python and/or Anaconda version: 3.8.2; Type of virtual environment used: venv; Jupyter server running: ...
Read more >In Python how to obtain a partial view of a dict? - Stack Overflow
Kinda strange desire, but you can get that by using this from itertools import islice # Python 2.x dict(islice(mydict.iteritems(), 0, ...
Read more >Python Basics: Lists, Dictionaries, & Booleans - Mode Analytics
This lesson of the Python Tutorial for Data Analysis covers writing and running Python code and basic Python objects like strings, lists, and...
Read more >Python - Lists & Strings & Dictionaries - Galaxy Training!
This tutorial is best viewed in a Jupyter notebook! ... and a list can be called a “hetereogenous” list, since it has multiple...
Read more >Python: Pretty Print a Dict (Dictionary) – 4 Ways - Datagy
Dictionaries are a key component of working with data in Python, ... depth : the number of levels to show while using nested...
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
Duplicate of https://github.com/microsoft/vscode-jupyter/issues/1138
Hello, Any improvement coming to Data Viewer?