Format values in funnel chart

Hi all!

I’ve built this funnel chart in Python:

The values show up in a pretty confusing way. How do I:

(a) show the full numbers, ideally comma-separated (e.g. 7,029,578, rather than “7.029578M”)?
(b) show rounded numbers (e.g. 7.02 M for millions, 142k for thousands)?

Thanks in advance!