i have a dataframe with 3 columns and i want to plot a line chart where the Month is
the X axis … and i want to sum the values in the y axis … below codes are showing months not sequential ( march is coming first instead of jan… ) and it’s not summing the value for example of the lab charges and the outpatient consultation charges.
can you please help ?
dft1 = dfp[['Monthy ','outpatient_consultation ','Lab_charges ']]
dft1 = dft1.set_index('Monthy ')