code: def test_int_col_names():
      # DataFrame with int column names
      lengths = pd.DataFrame(np.random.random(100))
      fig = px.histogram(lengths, x=0)
      assert np.all(np.array(lengths).flatten() == fig.data[0].x)
      # Numpy array
      ar = np.arange(100).reshape((10, 10))
      fig = px.scatter(ar, x=2, y=8)
      assert np.all(fig.data[0].x == ar[:, 2])
  
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 24 for calling a global function with example usage: test_int_col_names() without return types