median Function of statistics Module in Python (Example) | Middle Value | statistics.median Function

Published: 10 October 2022
on channel: Statistics Globe
113
2

How to apply the statistics.median function in the Python programming language. More details: https://statisticsglobe.com/median-fu...
Python code of this video:

my_list = [4, 3, 8, 2, 7, 3, 8, 4, 7, 1, 5] # Create example list
print(my_list) # Print example list
[4, 3, 8, 2, 7, 3, 8, 4, 7, 1, 5]

import statistics # Load statistics module

print(statistics.median(my_list)) # Apply median() function

Follow me on Social Media:
Facebook – Statistics Globe Page:   / statisticsglobecom  
Facebook – R Programming Group for Discussions & Questions:   / statisticsglobe  
Facebook – Python Programming Group for Discussions & Questions:   / statisticsglobepython  
LinkedIn – Statistics Globe Page:   / statisticsglobe  
LinkedIn – R Programming Group for Discussions & Questions:   / 12555223  
LinkedIn – Python Programming Group for Discussions & Questions:   / 12673534  
Twitter:   / joachimschork  

Music by bensound.com


Watch video median Function of statistics Module in Python (Example) | Middle Value | statistics.median Function online, duration hours minute second in high quality that is uploaded to the channel Statistics Globe 10 October 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 113 times and liked it 2 visitors.