-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfuncs_utils.py
47 lines (40 loc) · 912 Bytes
/
funcs_utils.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# -*- coding: utf-8 -*-
"""
Some utility functions
@author: Mino Sorribas
"""
import numpy as np
import pandas as pd
bho_dtypes = {
'fid':pd.Int64Dtype(),
'drn_pk':int,
'cotrecho':int,
'noorigem':int,
'nodestino':int,
'cocursodag':str,
'cobacia':str,
'nucomptrec':float,
'nudistbact':float,
'nudistcdag':float,
'nuareacont':float,
'nuareamont':float,
'nogenerico':str,
'noligacao':str,
'noespecif':str,
'noriocomp':str,
'nooriginal':str,
'cocdadesag':str,
'nutrjus':pd.Int32Dtype(),
'nudistbacc':float,
'nuareabacc':float,
'nuordemcda':pd.Int32Dtype(),
'nucompcda':float,
'nunivotto':int,
'nunivotcda':pd.Int32Dtype(),
'nustrahler':pd.Int32Dtype(),
'dedominial':str,
'dsversao':str,
'cobacia_50k':str,
'lat':float,
'lon':float,
}