code: def from_pandas(
      data: pd.Series[Any] | pd.Index[Any],
      *,
      schema_overrides: SchemaDict | None = ...,
      rechunk: bool = ...,
      nan_to_null: bool = ...,
      include_index: bool = ...,
  ) -> Series:
      ...
  
imports: from __future__ import annotations
  import io
  import re
  from itertools import chain, zip_longest
  from typing import TYPE_CHECKING, Any, Iterable, Mapping, Sequence, overload
  import polars._reexport
  from polars import functions
  from polars.datatypes import N_INFER_DEFAULT, Categorical, List, Object, String, Struct
  from polars.dependencies import pandas
  from polars.dependencies import pyarrow
  from polars.exceptions import NoDataError
  from polars.io import read_csv
  from polars.utils.various import _cast_repr_strings_with_schema
label_desc: Use image node_id 10 for calling a global function with example usage: from_pandas(data) without return types