I am writing python in visual studio 2015. I want to ask how to enter the library if I use the function defined in the library.
For example, I wrote the following code,
import numpy as np
from sklearn import linear_model, datasets
np.random.seed(0)
regdata = datasets.make_regression(100, 1, noise = 20.0)
And I want to enter the makeregression () function on the 4th line (this function is defined in samples_generator.py, scikit-learn package) to see what happens inside the function. When I press F11 (shortcut to go to) in visual studio, instead of going to samples_generator.py, the arrow just goes to the next line of my code.
Is there any way to give me the opportunity to enter the function defined in the library? Appreciate your help.
source
share