code: def plot_turnover_table(autocorrelation_data, quantile_turnover):
      turnover_table = pd.DataFrame()
      for period in sorted(quantile_turnover.keys()):
          for quantile, p_data in quantile_turnover[period].iteritems():
              turnover_table.loc[
                  "Quantile {} Mean Turnover ".format(quantile),
                  "{}D".format(period),
              ] = p_data.mean()
      auto_corr = pd.DataFrame()
      for period, p_data in autocorrelation_data.iteritems():
          auto_corr.loc[
              "Mean Factor Rank Autocorrelation", "{}D".format(period)
          ] = p_data.mean()
  
      print("Turnover Analysis")
      utils.print_table(turnover_table.apply(lambda x: x.round(3)))
      utils.print_table(auto_corr.apply(lambda x: x.round(3)))
  
imports: import numpy
  import pandas
  from scipy import stats
  import statsmodels.api
  import seaborn
  import matplotlib.cm
  import matplotlib.pyplot
  from matplotlib.ticker import ScalarFormatter
  from functools import wraps
  from .None import utils
  from .None import performance
label_desc: Use image node_id 5 for calling a global function with example usage: plot_turnover_table(autocorrelation_data, quantile_turnover) without return types