Complete the code to connect Tableau to a data source.
connection = tableau.connect_to([1])Tableau connects to a data file or database to start building visualizations.
Complete the code to specify the data source type in Tableau.
data_source = tableau.DataSource(type=[1])The data source type must be specified as 'excel' or other data formats Tableau supports.
Fix the error in the code to establish a live connection in Tableau.
connection = tableau.connect_to('database', live=[1])
The live parameter must be a boolean True without quotes to enable live connection.
Fill both blanks to create a connection and load data in Tableau.
connection = tableau.connect_to([1]) data = connection.[2]()
First, connect to a 'file', then fetch() loads the data into Tableau.
Fill all three blanks to define a data connection, set live mode, and load data in Tableau.
connection = tableau.connect_to([1], live=[2]) data = connection.[3]()
Connect to a 'database', set live mode to True, then fetch() the data.
