numpy, scipy, pandas all very slow (no python-mode here and seemingly no caching)
See original GitHub issueAfter doing import numpy
or import pandas
or import scipy
package level completion numpy.
, pandas.
, scipy.
takes several seconds (up to more than 20 seconds for pandas). Successive completions take the same time, so maybe the cache is not working. I’m not using python-mode, my bundles are:
base16-vim tabular vim-markdown vim-python-pep8-indent
jedi-vim vim-commentary vim-pathogen vim-shebang
Issue Analytics
- State:
- Created 6 years ago
- Reactions:10
- Comments:17 (4 by maintainers)
Top Results From Across the Web
Slow numpy and pandas imports on Google Cloud Run
This is a known issue in the Python ecosystem. all modules are imported at runtime, and some modules are 300-500MB large in size....
Read more >5 minute guide to Numba
A ~5 minute guide to Numba . Numba is a just-in-time compiler for Python that works best on code that uses NumPy...
Read more >Installation — pandas 1.5.2 documentation
Installing pandas and the rest of the NumPy and SciPy stack can be a little difficult for inexperienced users. The simplest way to...
Read more >High Performance Python
the following line is not valid Python code result = (number / numbers[i:(i + 5)]).is_integer() if any(result): return False return True. Here, we...
Read more >Frequently Asked Questions — scikit-learn 1.2.0 documentation
Why does Scikit-learn not directly work with, for example, pandas.DataFrame?¶. The homogeneous NumPy and SciPy data objects currently expected are most ...
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
@blueyed — I just wanted to add that I see the problem too. No, I am not a Python nor a Vim developer, unfortunately (I’d like). I use Python with numpy, scipy, and pandas to do my job of data analysis and processing (it’s my “free matlab” option — I am an electronic, analog-hardware, engineer), but I am not skilled enough to go deep inside — the linked issue, davidhalter/jedi#915, it’s way above my developer (meager) abilities. But if given detailed instruction I will try to help (test, etc.) in the measure I can; so yes, instead of
+1
, I should have written this message. Thanks for helping in better communication.@Rmano Instead of
+1
you might want to help out in a more productive way, e.g. by looking into why it is so slow…! After all (all of you) should be Python developers, right?