how do we write function returns list of tuples pythonte finctions in dataframe code example
Example: python return array
def my_function():
result = []
#body of the function
return result
def my_function():
result = []
#body of the function
return result