class CustomETL:
def func2(df):
counts.save()
def extract_and_transform():
colunas = ['nome', ' idade', ' cpf', ' ativo', ' nascimento', ' estado']
df = colunas.to_pandas().save().write()
return df
I need to get the names of the functions to have a return as below:
func2, extract_and_transform