Skip to content

Commit

Permalink
bigfix on db dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio Massacci committed Apr 10, 2024
1 parent fad2ec5 commit 9038ef4
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions terra-update-batch/resources/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,34 +282,34 @@
'FLOW': int,
'cpa': str,
'PERIOD': int,
'val_cpa': np.int64,
'q_kg': np.int64
'val_cpa': np.float64,
'q_kg': np.float64
},
'comext_exp': {
'DECLARANT_ISO': str,
'PARTNER_ISO': str,
'FLOW': int,
'cpa': str,
'PERIOD': int,
'val_cpa': np.int64,
'q_kg': np.int64
'val_cpa': np.float64,
'q_kg': np.float64
},
'cpa_intra': {
'DECLARANT_ISO': str,
'PARTNER_ISO': str,
'FLOW': int,
'PRODUCT': str,
'PERIOD': np.int64,
'VALUE_IN_EUROS': np.int64
'PERIOD': np.float64,
'VALUE_IN_EUROS': np.float64
},
'cpa_trim': {
'DECLARANT_ISO': str,
'PARTNER_ISO': str,
'FLOW': int,
'cpa': str,
'trimestre': str,
'val_cpa': np.int64,
'q_kg': np.int64
'val_cpa': np.float64,
'q_kg': np.float64
},
'tr_extra_ue': {
'PRODUCT_NSTR': str,
Expand All @@ -318,8 +318,8 @@
'PERIOD': int,
'TRANSPORT_MODE': int,
'FLOW': int,
'VALUE_IN_EUROS': np.int64,
'QUANTITY_IN_KG': np.int64
'VALUE_IN_EUROS': np.float64,
'QUANTITY_IN_KG': np.float64
},
'tr_extra_ue_trim': {
'PRODUCT_NSTR': str,
Expand All @@ -328,7 +328,7 @@
'TRIMESTRE': str,
'TRANSPORT_MODE': int,
'FLOW': int,
'VALUE_IN_EUROS': np.int64,
'QUANTITY_IN_KG': np.int64
'VALUE_IN_EUROS': np.float64,
'QUANTITY_IN_KG': np.float64
},
}

0 comments on commit 9038ef4

Please sign in to comment.