Skip to content

Commit

Permalink
Merge pull request #33 from CIAT-DAPA/develop
Browse files Browse the repository at this point in the history
fixed probabilities column order
  • Loading branch information
andresk159 authored Aug 22, 2023
2 parents b1719b3 + 4511fc6 commit 930e92e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/aclimate_cpt/01_prediccion.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,7 @@ def proba(
df_final["month"] = month
df_final["season"] = season_type
df_final["predictand"] = predictand
df_final = df_final.iloc[:,[4,5,0,1,2,3,6,7]]

return df_final

Expand Down
2 changes: 2 additions & 0 deletions src/aclimate_cpt/prediction_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,7 @@ def proba(self,
df_final["month"] = month
df_final["season"] = season_type
df_final["predictand"] = predictand
df_final = df_final.iloc[:,[4,5,0,1,2,3,6,7]]

return df_final

Expand Down Expand Up @@ -866,6 +867,7 @@ def metricas(self,
pearsonacfDf.rename(columns = {'Station':'id'}, inplace = True)
#pearsonacfDf['seson'] = season_type
#pearsonacfDf['predictand'] = predictand


return pearsonacfDf

Expand Down

0 comments on commit 930e92e

Please sign in to comment.