6

I use VS Code v1.25.1 with the Python extension added. Although it suggests me the attributes and methods of libraries and classes, i.e. I type from sklearn. it makes suggestions like ensemble, exception etc., when I generate a numpy array x_data = np.linspace(0.0, 10.0, 1000000) and on the next line say I would like to use a method or an attribute such as argmax it does not show me the suggestion list after typing x_data..

In Jupyter Notebook I used to press tab after typing x_data. to see the list. I wonder if there is any shortcut to achieve the same.

1 Answer 1

2

If you have IntelliSense installed, it should work automatically as you type. Or you might try Ctrl + Space. It also depends on your configuration (see the link).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.