Uploaded August 2017 | Updated September 2026, 2 weeks ago
This video tutorial demonstrate how to find (calculate) coordinates (X and Y) of Centroid that is consist of points that each one has X and Y attributes.
It is very simple Python function involving Numpy (http://www.numpy.org). For data visualization I used matplotlib (https://matplotlib.org). For reading data I used Pandas (pandas.pydata.org/) module.
This method is often used in Machine learning Clustering as K-Means clustering. I know that this algorithm can be improved by Python professionals. So you are always welcome to share your experience in comments or write me directly in LinkedIn: linkedin.com/in/bielinskas
Thank you for watching!
If you have any questions, just write below in comments!
Do not forget to subscribe me for follow more new Python learning videos on my channel!
This video tutorial demonstrate how to find (calculate) coordinates (X and Y) of Centroid that is consist of points that each one has X and Y attributes.
It is very simple Python function involving Numpy (http://www.numpy.org). For data visualization I used matplotlib (https://matplotlib.org). For reading data I used Pandas (pandas.pydata.org/) module.
This method is often used in Machine learning Clustering as K-Means clustering. I know that this algorithm can be improved by Python professionals. So you are always welcome to share your experience in comments or write me directly in LinkedIn: linkedin.com/in/bielinskas
Thank you for watching!
If you have any questions, just write below in comments!
Do not forget to subscribe me for follow more new Python learning videos on my channel!










