code: def get_id_card_features(
      data: list, selected: int, special_cols: list, features_dict: dict
  ) -> pd.DataFrame:
      """Get the features of the selected index for the identity card.
  
      Parameters
      ----------
      data : list
          Data from the table
      selected : int
          Row number of the selected index
      special_cols : list
          Sepcial columns about the index, the prediction...
      features_dict : dict
          Dictionary mapping technical feature names to domain names
  
      Returns
      -------
      pd.DataFrame
          Dataframe of the features
      """
      selected_row = pd.DataFrame(
          [data[selected]], index=["feature_value"]
      ).T
      selected_row["feature_name"] = selected_row.index.map(
          lambda x: x if x in special_cols else features_dict[x]
      )
      return selected_row
  
imports: from typing import Optional, Tuple
  import numpy
  import pandas
  import datetime
  from dash import dcc, html
  import dash_bootstrap_components
label_desc: Use image node_id 14 for calling a global function with example usage: get_id_card_features(data, selected, special_cols, features_dict) and returns: selected_row