code: def historical_mean_return(
      data: SERIES_OR_DATAFRAME, freq: INT = 252
  ) -> pd.Series:
      """Returns the *mean return* based on historical stock price data.
  
      :param data: A dataframe of daily stock prices
      :type data: :py:data:`~.finquant.data_types.SERIES_OR_DATAFRAME`
  
      :param freq: Number of trading days in a year
      :type freq: :py:data:`~.finquant.data_types.INT`, default: 252
  
      :return: A series of historical mean returns
      """
      # Type validations:
      type_validation(data=data, freq=freq)
      return daily_returns(data).mean() * freq
  
file_path: FinQuant/finquant/returns.py
imports: from typing import Any
  import numpy
  import pandas
  from finquant.data_types import ARRAY_OR_SERIES, FLOAT, INT, NUMERIC, SERIES_OR_DATAFRAME
  from finquant.type_utilities import type_validation
label_desc: Use image node_id 5 for calling a global function with example usage: historical_mean_return(data, freq) and returns: unknown