code: def sigmoid(s: "Series") -> "Series":
      """Take the sigmoid transform of the series.
  
      The sigmoid function is defined:
  
      ```python
      sigmoid(x) = 1 / (1 + exp(-x))
      ```
  
      Examples:
          >>> import pandas as pd
          >>> import janitor
          >>> s = pd.Series([-1, 0, 4], name="numbers")
          >>> s.sigmoid()
          0    0.268941
          1    0.500000
          2    0.982014
          Name: numbers, dtype: float64
  
      Args:
          s: Input Series.
  
      Returns:
          Transformed Series.
      """
      import scipy
  
      return scipy.special.expit(s)
  
file_path: pyjanitor/janitor/math.py
imports: import warnings
  from typing import TYPE_CHECKING, Tuple
  import pandas_flavor
label_desc: Use image node_id 3 for calling a global function with example usage: sigmoid(s) and returns: scipy