I am trying to create plots using cufflinks but they seems to be inaccurate, or to better put it, the y axis doesnt seem to be in order.
the data i am using :
time
pos_slot crane_gkey
C1 319 85 days 09:29:11
320 91 days 00:55:00
329 100 days 21:15:00
330 47 days 02:00:00
331 0 days 11:25:00
333 9 days 13:35:00
334 3 days 01:15:00
335 0 days 00:10:00
336 0 days 05:00:00
337 0 days 05:00:00
338 2 days 21:10:00
339 0 days 12:15:00
345 9 days 22:50:00
353 1 days 12:17:28
362 1 days 08:05:00
363 0 days 15:50:00
369 1 days 08:05:00
406 9 days 20:10:00
407 12 days 22:05:00
408 7 days 14:15:00
this goes on for multiple values of pos_slot This is a groupme that i created out of a bigger table. i use the following to create a plot
df1_bct_pos_ctimes3 = df1_bct_pos_ctimes.unstack(level = -2)
df1_bct_pos_ctimes3.iplot(kind = 'scatter')
And as u can see from the data, the plor does not look accurate at all and the y axis seems to be messed up
now if i run the cufflinks on the table without unstacking it and look at C1 for pos_slot i get:
code :
df1_bct_pos_ctimes.iplot(kind = 'scatter')
and this seems to accurately depict the values in the table.
Also as a side question, how do i customize the axis labels to be more easily understandable?
Thank you.
EDIT : seems like changing time to total seconds fixed the issue. i would still like to know why this issue happened. Thank you.



