code: def step(self, **kwargs):
          
          kwargs.setdefault('linestyle', kwargs.pop('where', 'steps-post'))
          data = self.append(self.value[-1:], inplace=False)
          return data.plot(**kwargs)
docs: Create a step plot of this series