Python Forum
A small data sorting program - couple of general and hopefully easy questions
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A small data sorting program - couple of general and hopefully easy questions
#2
If there are only 40000 records, I'm not sure it can be called a big file. Did you try loading the whole file in memory to see if python can manipulate the data as a whole? Also note that you may need to load only a few columns for the main work of sorting the lines.

Nowadays, everybody seems to be using the pandas library to handle tabular data. I don't know this library, but it is probably the first thing you could check: try to load your data with pandas.

There is also a classical and very mature library named pytables that can manage the storage of very large amounts of data. It can also be a much more comfortable alternative than using an sql database. It may have nice sorting capabilities too.
Reply


Messages In This Thread
RE: A small data sorting program - couple of general and hopefully easy questions - by Gribouillis - Jan-17-2018, 11:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Data Sorting and filtering(From an Excel File) PY_ALM 0 1,712 Jan-09-2023, 08:14 PM
Last Post: PY_ALM
  Sorting data by specific variables using argparse Bearinabox 5 2,687 Jan-01-2023, 07:44 PM
Last Post: Bearinabox
  How to change input data set for character recognition program? plumberpy 5 2,820 Apr-20-2022, 07:46 PM
Last Post: jefsummers
Question Sorting data with pandas TheZaind 4 3,464 Nov-22-2021, 07:33 PM
Last Post: aserian
  Easy analysis of Data ranjjeetk 1 2,542 Jun-06-2020, 01:44 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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