code: def sin_transformer(period):
      return FunctionTransformer(
          lambda x: np.sin(x / period * 2 * np.pi)
      )
  
file_path: Neuraxle/examples/sklearn/plot_cyclical_feature_engineering.py
imports: import matplotlib.pyplot
  import numpy
  import pandas
  from neuraxle.base import Identity, MetaStep
  from neuraxle.pipeline import Pipeline
  from neuraxle.steps.column_transformer import ColumnTransformer
  from neuraxle.union import FeatureUnion
  from sklearn.datasets import fetch_openml
  from sklearn.ensemble import HistGradientBoostingRegressor
  from sklearn.kernel_approximation import Nystroem
  from sklearn.linear_model import RidgeCV
  from sklearn.model_selection import TimeSeriesSplit, cross_validate
  from sklearn.preprocessing import FunctionTransformer, MinMaxScaler, OneHotEncoder, OrdinalEncoder, PolynomialFeatures, SplineTransformer
label_desc: Use image node_id 2 for calling a global function with example usage: sin_transformer(period) and returns: FunctionTransformer