code: def reset_index(
          self, level=None, drop=False, inplace=False, col_level=0, col_fill=""
      ):
          
          inplace = validate_bool_kwarg(inplace, "inplace")
          # TODO Implement level
          if level is not None:
              new_query_compiler = self._default_to_pandas(
                  "reset_index",
                  level=level,
                  drop=drop,
                  inplace=inplace,
                  col_level=col_level,
                  col_fill=col_fill,
              )
          # Error checking for matching Pandas. Pandas does not allow you to
          # insert a dropped index into a DataFrame if these columns already
          # exist.
          elif (
              not drop
              and not isinstance(self.index, pandas.MultiIndex)
              and all(n in self.columns for n in ["level_0", "index"])
          ):
              raise ValueError("cannot insert level_0, already exists")
          else:
              new_query_compiler = self._query_compiler.reset_index(
                  drop=drop, level=level
              )
          return self._create_or_update_from_compiler(new_query_compiler, inplace)
docs: Reset this index to default and create column from current index.
  
          Args:
              level: Only remove the given levels from the index. Removes all
                  levels by default
              drop: Do not try to insert index into DataFrame columns. This
                  resets the index to the default integer index.
              inplace: Modify the DataFrame in place (do not create a new object)
              col_level : If the columns have multiple levels, determines which
                  level the labels are inserted into. By default it is inserted
                  into the first level.
              col_fill: If the columns have multiple levels, determines how the
                  other levels are named. If None then the index name is
                  repeated.
  
          Returns:
              A new DataFrame if inplace is False, None otherwise.