simplify cast impl: remove _len attribute
don't use dataframe index as the abscissa