Default all floating number displays to 2 decimals
This commit is contained in:
parent
2df0f62d7a
commit
039e676210
|
@ -192,8 +192,6 @@ totals = df.loc[
|
|||
]
|
||||
electricityaid = totals[totals['DONOR'] < 20000] # drop all 'total' aggregations
|
||||
|
||||
pd.options.display.float_format = "{:.2f}".format
|
||||
|
||||
el_grouped = electricityaid.groupby(['Year', 'Flow']).agg({'Value': ['sum']})
|
||||
el_grouped.style.format(escape="latex")
|
||||
el_grouped
|
||||
|
|
|
@ -229,7 +229,6 @@ when the amount first increased to 800m USD in 2019 and subsequently to over 1.7
|
|||
#| label: tbl-uga-aid-watersupply
|
||||
#| tbl-cap: "ODA projects of water and sanitation supply in Uganda per year, separated by project type"
|
||||
#| column: page
|
||||
pd.options.display.float_format = "{:.2f}".format
|
||||
|
||||
# 14020-22 - large scale potable water
|
||||
# 14030-32 - individual-level water and sanitation supply
|
||||
|
|
Loading…
Reference in New Issue