Python Forum
May i get help see how am i going,
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
May i get help see how am i going,
#5
when i try this i could not access class method from other class.
example : i need the method Mean() to use it in class of Variance,
could not do it, i got the methods undefined.
Class Data_variance:
   def data_variance(data_values, mean_of_data):
    """
    Getting The Variance Number For Data.
    :param data_values: Set Of Data
    :param mean_of_data: Mean Of Data From Previous Function.
    :return: Variance Of Data.
    """
    starter_counter = 0
    for data_cells in data_values:
        starter_counter += (data_cells - mean_of_data) ** 2
    return starter_counter / len(data_values)
Reply


Messages In This Thread
RE: May i get help see how am i going, - by AhmadMWaddah - Feb-23-2020, 05:35 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020