I use Python , and connection with sql server. I selected from the data in sql server.
CustomerNumber TransactionDate
1 2/3/2019
1 12/4/2019
1 12/17/2019
2 1/4/2019
2 4/4/2019
3 7/5/2019
4 7/7/2019
4 9/5/2019
4 9/15/2019
4 10/15/2019
I want convert to array base on CustomerNumber
[1 2/3/2019 12/4/2019 12/17/2019 ]
[2 1/4/2019 4/4/2019]
[3 7/5/2019]
[4 7/5/2019 7/7/2019 9/5/2019 9/15/2019 10/15/2019]
I am python beginner. So I look forward to your feedback. Thanks you for your help.