I am trying to calculate the RMS of a list of values from an excel file and am having an issue, see the below error message.
My code is as follows
path = (r'BusTest.xlsx')
second_column = dataframe.iloc[:, 2]
line_count = 0
for row in second_column:
rms = [math.sqrt(((sum(float(x) * 9.8) * (float(x) * 9.8)) for x in second_column) / second_column(len))]
The Error states:
TypeError: 'Series' object is not callable
Is there anyone who can assist me with this?
Any help would be greatly appreciated