format pandas dataframe code example
Example 1: data format pandas
>>> pd.to_datetime('13000101', format='%Y%m%d', errors='ignore')
datetime.datetime(1300, 1, 1, 0, 0)
>>> pd.to_datetime('13000101', format='%Y%m%d', errors='coerce')
NaT
Example 2: Pandas format column
df.style.format({'total_movimentado':'R${:,.2f}'})