Python Forum
Getting the maximum point of the graph from the text file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting the maximum point of the graph from the text file
#1
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
Reply
#2
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.
Reply
#3
Thank you for your answer
But I did not work with Pandas and I do not know how to do it Huh Huh Huh
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Thumbs Up Need to compare the Excel file name with a directory text file. veeran1991 1 1,067 Dec-15-2022, 04:32 PM
Last Post: Larz60+
  please check this i wanna use a csv file as a graph xCj11 5 1,439 Aug-25-2022, 08:19 PM
Last Post: deanhystad
  Modify values in XML file by data from text file (without parsing) Paqqno 2 1,580 Apr-13-2022, 06:02 AM
Last Post: Paqqno
  Converted Pipe Delimited text file to CSV file atomxkai 4 6,843 Feb-11-2022, 12:38 AM
Last Post: atomxkai
  [SOLVED] Read text file from some point till EOF? Winfried 1 1,911 Oct-10-2021, 10:29 PM
Last Post: Winfried
  blank graph with matplotlib from a csv file / data type issue arsentievalex 0 1,912 Apr-06-2021, 10:08 AM
Last Post: arsentievalex
  Python Matplotlib: How do I plot lines with different end point in the same graph? JaneTan 0 1,552 Feb-28-2021, 11:56 AM
Last Post: JaneTan
  [split] How to convert the CSV text file into a txt file Pinto94 5 3,256 Dec-23-2020, 08:04 AM
Last Post: ndc85430
  Saving text file with a click: valueerror i/o operation on closed file vizier87 5 4,329 Nov-16-2020, 07:56 AM
Last Post: Gribouillis
  saving data from text file to CSV file in python having delimiter as space K11 1 2,356 Sep-11-2020, 06:28 AM
Last Post: bowlofred

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020