check_installation#

from tmlt.analytics.utils import check_installation
tmlt.analytics.utils.check_installation()#

Check to see if you have installed Tumult Analytics correctly.

This function will:

  • create a new Spark session

  • create a Spark dataframe

  • create a Session from that dataframe

  • perform a query on that dataframe

If Tumult Analytics is correctly installed, this function should print a message and finish running within a few seconds.

If Tumult Analytics has not been correctly installed, this function will raise an error.