class_docstr: A GPU GeoDataFrame object.
class_docstr_tok: ["A","GPU","GeoDataFrame","object","."]
docstr: Reset the index, or a level of it.
  
  Parameters
  ----------
  level : `int`, `str`, `tuple`, or `list`, default `None`
      Only remove the given levels from the index. Removes all levels by
      default.
  drop : `bool`, default `False`
      Do not try to insert index into dataframe columns. This resets the
      index to the default integer index.
  inplace : `bool`, default `False`
      Modify the GeoDataFrame in place (do not create a new object).
  col_level : `int` or `str`, default `0`
      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 : `object`, default `""`
      If the columns have multiple levels, determines how the other
      levels are named. If None then the index name is repeated.
  
  Returns
  -------
  `GeoDataFrame`
docstr_tok: ["Reset","the","index",",","or","a","level","of","it",".","Parameters","--","--","--","--","--","level",":","`","int","`",",","`","str","`",",","`","tuple","`",",","or","`","list","`",",","default","`","None","`","Only","remove","the","given","levels","from","the","index",".","Removes","all","levels","by","default",".","drop",":","`","bool","`",",","default","`","False","`","Do","not","try","to","insert","index","into","dataframe","columns",".","This","resets","the","index","to","the","default","integer","index",".","inplace",":","`","bool","`",",","default","`","False","`","Modify","the","GeoDataFrame","in","place","(","do","not","create","a","new","object",")",".","col_level",":","`","int","`","or","`","str","`",",","default","`","0","`","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",":","`","object","`",",","default","`","``","''","`","If","the","columns","have","multiple","levels",",","determines","how","the","other","levels","are","named",".","If","None","then","the","index","name","is","repeated",".","Returns","--","--","--","-","`","GeoDataFrame","`"]
code: def reset_index(
      self,
      level=None,
      drop=False,
      inplace=False,
      col_level=0,
      col_fill="",
  ):
      """Reset the index, or a level of it.
  
      Parameters
      ----------
      level : `int`, `str`, `tuple`, or `list`, default `None`
          Only remove the given levels from the index. Removes all levels by
          default.
      drop : `bool`, default `False`
          Do not try to insert index into dataframe columns. This resets the
          index to the default integer index.
      inplace : `bool`, default `False`
          Modify the GeoDataFrame in place (do not create a new object).
      col_level : `int` or `str`, default `0`
          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 : `object`, default `""`
          If the columns have multiple levels, determines how the other
          levels are named. If None then the index name is repeated.
  
      Returns
      -------
      `GeoDataFrame`
      """
  
      # Split geometry and non-geometry columns
      geo_data, cudf_data = self._split_out_geometry_columns()
  
      # Reset cudf column
      cudf_reindexed = cudf_data.reset_index(
          level, drop, inplace, col_level, col_fill
      )
  
      if inplace:
          cudf_reindexed = cudf_data
  
      # Reset GeoColumns
      recombiner = self.copy(deep=False)
      recombiner.index = cudf.RangeIndex(len(recombiner))
      # Not a multi-index, and the index was not dropped.
      if not drop:
          if not isinstance(cudf_data.index, cudf.MultiIndex):
              recombiner.insert(
                  loc=0, name="index", value=cudf_reindexed["index"]
              )
          # If the index is a MultiIndex, we need to insert the
          # individual levels into the GeoDataFrame.
          elif isinstance(cudf_data.index, cudf.MultiIndex):
              # If level is not specified, it will be the difference
              # between the number of columns in reindexed dataframe
              # and the original.
              if not level:
                  level = range(
                      len(cudf_reindexed.columns)
                      - len(cudf_data.columns)
                  )
              elif not isinstance(level, list):
                  level = [level]
              levels = ["level_" + str(n) for n in level]
              for n, name in enumerate(levels):
                  recombiner.insert(
                      loc=n,
                      name=name,
                      value=cudf_reindexed[name].reset_index(drop=True),
                  )
              recombiner.index = cudf_reindexed.index
  
      if inplace:
          self.index = cudf_reindexed.index
          self._data = recombiner._data
          return None
      else:
          # Reset the index of the GeoDataFrame to match the
          # cudf DataFrame and recombine.
          geo_data.index = cudf_reindexed.index
          result = GeoDataFrame._from_data(
              recombiner._recombine_columns(geo_data, cudf_reindexed)
          )
          result.index = geo_data.index
          return result
  
imports: from typing import Dict, Tuple, TypeVar, Union
  import pandas
  from geopandas import GeoDataFrame
  from geopandas.geoseries import is_geometry_type
  import cudf
  from cudf.core.copy_types import BooleanMask, GatherMap
  from cuspatial.core._column.geocolumn import GeoColumn, GeoMeta
  from cuspatial.core.geoseries import GeoSeries
  from cuspatial.io.geopandas_reader import GeoPandasReader
label_desc: Use image node_id 13 for calling the GeoDataFrame obj's underlying member method code with example usage: obj.reset_index(level, drop, inplace, col_level, col_fill) and returns: None, result