Sunday, 11 December 2022

Tuple

 

<class 'tuple'> <class 'str'>
('apple', 'kiwi', 'cherry')
('apple', 'banana', 'cherry', 'orange')
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
Cell In [2], line 32
     30 thistuple = ("apple", "banana", "cherry")
     31 del thistuple
---> 32 print(thistuple)

NameError: name 'thistuple' is not defined

green = apple yellow = banana red = cherry Approach 1 : apple Approach 1 : banana Approach 1 : ['cherry', 'strawberry', 'raspberry'] Approach 2 : apple Approach 2 : ['mango', 'papaya', 'pineapple'] Approach 2 : cherry
2

DBT - Models

Models are where your developers spend most of their time within a dbt environment. Models are primarily written as a select statement and ...