ps update

This commit is contained in:
Colas Geier 2021-10-11 16:12:19 +02:00
parent 68e9733c31
commit 1be1b4ce88

View File

@ -74,7 +74,7 @@ def ps_r_site_param(id_site=None, nom_site=None, columns=None, last_update=False
nval = 'param'
ntyp = 'type'
df = merge(df,dic, how='left', left_on='id_param', right_on='id', suffixes=(None,'_y'))\
.drop(['id_y','id_param'],1) \
.drop(columns=['id_y','id_param']) \
.rename(columns={'description':'desc_param_ps', 'nom':nval})
if raw: