code: def float_series() -> pd.Series:
      x = np.arange(_nb_samples).astype(np.uint32)
      y = (
          np.sin(x / 50).astype(np.float32)
          + np.random.randn(_nb_samples) / 5
      )
      return pd.Series(index=x, data=y, name="float_series")
  
imports: import os
  from typing import Union
  import numpy
  import pandas
  import plotly.graph_objects
  import pytest
  from plotly.subplots import make_subplots
  from plotly_resampler import LTTB, EveryNthPoint, FigureResampler, unregister_plotly_resampler
label_desc: Use image node_id 5 for calling a global function with example usage: float_series() and returns: pd