code: def test_no_pd_perf_warning():
      n_cols = 1000
      n_rows = 1000
  
      columns = list(f"col_{c}" for c in range(n_cols))
      index = list(f"i_{r}" for r in range(n_rows))
  
      df = pd.DataFrame(
          np.random.uniform(size=(n_rows, n_cols)),
          index=index,
          columns=columns,
      )
  
      with warnings.catch_warnings(record=True) as warn_list:
          _ = px.bar(
              df,
              x=df.index,
              y=df.columns[:-2],
              labels=df.columns[:-2],
          )
      performance_warnings = [
          warn
          for warn in warn_list
          if issubclass(warn.category, pd.errors.PerformanceWarning)
      ]
      assert (
          len(performance_warnings) == 0
      ), "PerformanceWarning(s) raised!"
  
imports: import plotly.express
  import plotly.graph_objects
  import pandas
  import numpy
  from plotly.express._core import build_dataframe, _is_col_list
  from pandas.testing import assert_frame_equal
  import pytest
  import warnings
label_desc: Use image node_id 13 for calling a global function with example usage: test_no_pd_perf_warning() without return types