Skip to content

Ariefah Shalihah

  • Home
  • About

How to calculate the average of a list in Python

Divide sum() by len()

Use statistics.mean()



how-to-calculate-the-average-of-a-list-in-python

Categories PYTHON
Post navigation
How to calculate summary statistics of a Pandas DataFrame in Python
How to calculate the cosine similarity of the rows of a NumPy array in Python

Recent Posts

  • How asynchronously call methods in Python
  • How get a function name as a string in Python
  • How pretty print a JSON file in Python
ariefahshalihah