You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
I don't know whether it's a bug or not, but please consider the following behavior:
First, I import pandas and it all looks fine. Next, I want to type from pandas.io.json import json_normalize and it works nicely as well. Lastly, I want to try pd.io.json.json_normalize directly, and this is where the behavior is unfriendly. The LS doesn't find neither io nor json when I start typing pd..
So, is this a bug or an expected behavior? If it's neither, how can I workaround it?
This is b/c pandas has io submodule and hence pandas.io works in import statement completion. However, __init__.py does not directly import io and only has from pandas.io.api .... So io does not appear in exported items. I guess submodules should be added there too.
I don't know whether it's a bug or not, but please consider the following behavior:
First, I import
pandasand it all looks fine. Next, I want to typefrom pandas.io.json import json_normalizeand it works nicely as well. Lastly, I want to trypd.io.json.json_normalizedirectly, and this is where the behavior is unfriendly. The LS doesn't find neitherionorjsonwhen I start typingpd..So, is this a bug or an expected behavior? If it's neither, how can I workaround it?