def delete_frame(self, frame_number):
        """Deletes the given frame number from this instance.

        Args:
            frame_number: the frame number
        """
        self._replacements.pop(frame_number, None)

        if not self._in_db:
            return

        self._delete_frames.add(frame_number)
Deletes the given frame number from this instance.

        Args:
            frame_number: the frame number
        
fiftyone/core/frame.py