Custom formatter using df.formatter