class_docstr: XGBModel Model
class_docstr_tok: ["XGBModel","Model"]
docstr: get feature importance
  
  Notes
  -------
      parameters reference:
          https://xgboost.readthedocs.io/en/latest/python/python_api.html#xgboost.Booster.get_score
docstr_tok: ["get","feature","importance","Notes","--","--","--","-","parameters","reference",":","https",":","\/\/xgboost.readthedocs.io\/en\/latest\/python\/python_api.html","#","xgboost.Booster.get_score"]
code: def get_feature_importance(self, *args, **kwargs) -> pd.Series:
      """get feature importance
  
      Notes
      -------
          parameters reference:
              https://xgboost.readthedocs.io/en/latest/python/python_api.html#xgboost.Booster.get_score
      """
      return pd.Series(
          self.model.get_score(*args, **kwargs)
      ).sort_values(ascending=False)
  
file_path: qlib/qlib/contrib/model/xgboost.py
imports: import numpy
  import pandas
  import xgboost
  from typing import Text, Union
  from ...model.base import Model
  from ...data.dataset import DatasetH
  from ...data.dataset.handler import DataHandlerLP
  from ...model.interpret.base import FeatureInt
  from ...data.dataset.weight import Reweighter
label_desc: Use image node_id 4 for calling the XGBModel obj's underlying member method code with example usage: obj.get_feature_importance() and returns: pd