code: def test_pass_df_columns():
      tips = px.data.tips()
      fig = px.histogram(
          tips,
          x="total_bill",
          y="tip",
          color="sex",
          marginal="rug",
          hover_data=tips.columns,
      )
      # the "- 2" is because we re-use x and y in the hovertemplate where possible
      assert (
          fig.data[1].hovertemplate.count("customdata")
          == len(tips.columns) - 2
      )
      tips_copy = px.data.tips()
      assert tips_copy.columns.equals(tips.columns)
  
imports: import plotly.express
  import plotly.graph_objects
  import numpy
  import pandas
  import pytest
  from packaging import version
  import unittest.mock
  from plotly.express._core import build_dataframe
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 27 for calling a global function with example usage: test_pass_df_columns() without return types