code: def to_unindexed_series(x, name=None):
      """
      assuming x is list-like or even an existing pd.Series, return a new pd.Series with
      no index, without extracting the data from an existing Series via numpy, which
      seems to mangle datetime columns. Stripping the index from existing pd.Series is
      required to get things to match up right in the new DataFrame we're building
      """
      return pd.Series(x, name=name).reset_index(drop=True)
  
imports: import plotly.graph_objs
  import plotly.io
  from collections import namedtuple, OrderedDict
  from ._special_inputs import IdentityMap, Constant, Range
  from .trendline_functions import ols, lowess, rolling, expanding, ewm
  from _plotly_utils.basevalidators import ColorscaleValidator
  from plotly.colors import qualitative, sequential
  import math
  from packaging import version
  import pandas
  import numpy
  from plotly._subplots import make_subplots, _set_trace_grid_reference, _subplot_type_for_trace_type
label_desc: Use image node_id 28 for calling a global function with example usage: to_unindexed_series(x, name) and returns: pd