code: def test_linreg_contrib_df(precalculated_linear_regression_explainer):
      assert isinstance(
          precalculated_linear_regression_explainer.get_contrib_df(0),
          pd.DataFrame,
      )
      assert isinstance(
          precalculated_linear_regression_explainer.get_contrib_df(
              0, topx=3
          ),
          pd.DataFrame,
      )
  
imports: import pytest
  import pandas
  import numpy
  import shap
  import plotly.graph_objects
label_desc: Use image node_id 10 for calling a global function with example usage: test_linreg_contrib_df(precalculated_linear_regression_explainer) without return types