original_docstring: 
          Create a shifted geometry column with previous positions.
          
docstring: Create a shifted geometry column with previous positions.
docstring_tokens: Create a shifted geometry column with previous positions .
code: def _add_prev_pt(self, force=True):
          """
          Create a shifted geometry column with previous positions.
          """
          if 'prev_pt' not in self.df.columns or force:
              # TODO: decide on default enforcement behavior
              self.df = self.df.assign(prev_pt=self.df.geometry.shift())
code_tokens: def _add_prev_pt ( self , force = True ) : if 'prev_pt' not in self . df . columns or force : self . df = self . df . assign ( prev_pt = self . df . geometry . shift ( ) )
short_docstring: Create a shifted geometry column with previous positions.
short_docstring_tokens: Create a shifted geometry column with previous positions .
comment: """
          Create a shifted geometry column with previous positions.
          """$SEP$# TODO: decide on default enforcement behavior