0
0
Tableaubi_tool~10 mins

Why data connections are the starting point in Tableau - Test Your Understanding

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to connect Tableau to a data source.

Tableau
connection = tableau.connect_to([1])
Drag options to blanks, or click blank then click option'
A'server'
B'database'
C'file'
D'dashboard'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'dashboard' because it sounds like the end product.
2fill in blank
medium

Complete the code to specify the data source type in Tableau.

Tableau
data_source = tableau.DataSource(type=[1])
Drag options to blanks, or click blank then click option'
A'calculation'
B'excel'
C'filter'
D'visualization'
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing data source type with visualization or filter.
3fill in blank
hard

Fix the error in the code to establish a live connection in Tableau.

Tableau
connection = tableau.connect_to('database', live=[1])
Drag options to blanks, or click blank then click option'
A'true'
Byes
C1
DTrue
Attempts:
3 left
💡 Hint
Common Mistakes
Using string 'true' instead of boolean True.
4fill in blank
hard

Fill both blanks to create a connection and load data in Tableau.

Tableau
connection = tableau.connect_to([1])
data = connection.[2]()
Drag options to blanks, or click blank then click option'
A'file'
B'server'
Cload_data
Dfetch
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'server' when the example is a file.
Using 'load_data' which is not a Tableau method.
5fill in blank
hard

Fill all three blanks to define a data connection, set live mode, and load data in Tableau.

Tableau
connection = tableau.connect_to([1], live=[2])
data = connection.[3]()
Drag options to blanks, or click blank then click option'
A'database'
BTrue
Cfetch
DFalse
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'False' for live mode when live connection is needed.
Using 'load' instead of 'fetch' method.