Skip to main content

Hi ! 

I created a first Python code to try to organise datas for a table. It works well so I am able to organize datas in the right order.

The pb is that I need to split this big table in sub tables grouped by the value DOSSIER and i don’t know how to do that !

If someone gets an idea ! 

Many thx

Francis

import datetime
dates_obj = j]
for i in input_datad'dates'].split(','):
dates_obj.append(datetime.datetime.strptime(i, "%d/%m/%Y").date())

event_list = list(zip(input_datad'events'].split(','),input_datad'dossiers'].split(','),dates_obj,input_datad'descriptions'].split(','),input_datad'qte'].split(','),input_datad'avocats'].split(','),input_datad'types'].split(',')))

sorted_events = sorted(event_list, key=lambda item: (itemi1],itemi2]))
out = t]
for e in sorted_events:
out.append({'event': e'0],'dossier': e'1],'date': e'2].strftime("%d/%m/%Y"),'types': e'6],'description': e'3],'qte': e'4],'avocats': e'5]})
return {
"events": out,
}

 

Hi @Francis - Are you still having troubles with this? We created a ticket for you in Zapier Support but we had not heard back from you yet. Please let us know how we may help further!


I am sorry to ask but where can I find this ticket in my zapier account ? I found nothing in the Get Help menu :-(

Thks ! 


Hi @Francis!

It would just be in your email account. Our support team sent you a couple of emails. The person who responded was Daniel Frazier. Do you see anything when you search for that name?