code: def test_load_feature_definition(sagemaker_session_mock):
      feature_group = FeatureGroup(
          name="SomeGroup", sagemaker_session=sagemaker_session_mock
      )
      df = pd.DataFrame(
          {
              "float": pd.Series([2.0], dtype="float64"),
              "int": pd.Series([2], dtype="int64"),
              "string": pd.Series(["f1"], dtype="string"),
          }
      )
      feature_definitions = feature_group.load_feature_definitions(
          data_frame=df
      )
      names = [fd.feature_name for fd in feature_definitions]
      types = [fd.feature_type for fd in feature_definitions]
      assert names == ["float", "int", "string"]
      assert types == [
          FeatureTypeEnum.FRACTIONAL,
          FeatureTypeEnum.INTEGRAL,
          FeatureTypeEnum.STRING,
      ]
  
imports: from __future__ import absolute_import
  import pandas
  import pytest
  from mock import Mock, patch, MagicMock
  from botocore.exceptions import ProfileNotFound
  from sagemaker.feature_store.feature_definition import FractionalFeatureDefinition, IntegralFeatureDefinition, StringFeatureDefinition, FeatureTypeEnum, VectorCollectionType, SetCollectionType, ListCollectionType
  from sagemaker.feature_store.feature_group import FeatureGroup, IngestionManagerPandas, AthenaQuery, IngestionError
  from sagemaker.feature_store.inputs import FeatureParameter, DeletionModeEnum, TtlDuration, OnlineStoreConfigUpdate, OnlineStoreStorageTypeEnum
  from tests.unit import SAGEMAKER_CONFIG_FEATURE_GROUP
label_desc: Use image node_id 26 for calling a global function with example usage: test_load_feature_definition(sagemaker_session_mock) without return types