code: def test_pandas_compute_autocorrelation(compute_time_data):
      data, white_noise = _pandas_compute_autocorrelation(
          compute_time_data["var"], n_lags=1, plot_type="pacf"
      )
      assert len(data) == 2
      assert isinstance(white_noise, float)
  
      data, white_noise = _pandas_compute_autocorrelation(
          compute_time_data["var"], n_lags=1, plot_type="acf", fft=False
      )
      assert len(data) == 15
      assert isinstance(white_noise, float)
  
file_path: data-describe/tests/test_time_series.py
imports: import matplotlib
  import pytest
  import plotly.graph_objects
  from data_describe.core.time import _pandas_compute_stationarity_test, adf_test, kpss_test, _pandas_compute_decompose_timeseries, _pandas_compute_autocorrelation, plot_autocorrelation, stationarity_test
  import data_describe
  from data_describe.compat import _is_dataframe
label_desc: Use image node_id 7 for calling a global function with example usage: test_pandas_compute_autocorrelation(compute_time_data) without return types