Python Forum
Getting the maximum point of the graph from the text file - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Getting the maximum point of the graph from the text file (/thread-16644.html)



Getting the maximum point of the graph from the text file - Erfans - Mar-08-2019

Hello
I have a text file written in the beginning of the file in several lines of English, and then there are two columns of numbers, the first column of which is x, and the second is y.
My goal is to find the largest number of the second column and get the equator of the author in the first column, summarizing the coordinates of the maximum point of the graph.
Thanks if anyone has an idea to help me out.
Thanks Idea


RE: Getting the maximum point of the graph from the text file - scidam - Mar-08-2019

As it follows from the problem statement, you are likely looking for
Pandas package, which is one of the best Python tools for data manipulation.
It provides basic i/o operations, sophisticated selection on tabular data and much more.


RE: Getting the maximum point of the graph from the text file - Erfans - Mar-09-2019

Thank you for your answer
But I did not work with Pandas and I do not know how to do it Huh Huh Huh