Repository to store all the code created for Nubank exercise (case)
- Convert all foreign key from
uuid
type tovarchar
. - Export CSV file with Pandas end Python because the file was exported incorrectly.
It was converting id, account_id to wrong numbers, for example:
1783896702851019520
->1783896702851010000
- Clean NaN values in
transfer_ins
table because thetransaction_completed_at
field did not match the foreign key ind_time
table.
Import tha data in the following order:
- Country
- Month
- Week
- Weekday
- Year
- State
- City
- d_time
- Customers
- Accounts
- Transfer_ins (Disable temporarily to insert data)
- Transfer_outs (Disable temporarily to insert data)
- Pix_movements (Disable temporarily to insert data)