vn.ask
vn.ask("What are the top 10 customers by sales?")
Remember
The system first needs training data before you can begin asking questions.
The ask
function is intended to be a convenience method for use in Jupyter notebooks. You use this function to ask questions and it will run the following constituent functions:
Note
If you are using Vanna outside of the context of a Jupyter notebook, you will should call these functions individually instead of using vn.ask
. Since vn.ask
runs several functions and does not return until all the functions are complete, you will experience a delay when using vn.ask
in a non-notebook context.