Python Forum
Arrays faster than pandas?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arrays faster than pandas?
#3
(Jul-27-2021, 04:01 PM)jefsummers Wrote: Numpy is generally faster than Pandas, though for me it is easier to develop in Pandas and the speed difference is not noticeable with my relatively smaller datasets.

Speed test article

Suppose my data is 4000 rows by 15 columns. It would be easier (since I'm a beginner) for me to use a dataframe because then I could use labels that make sense to me. I could, however, load all that into an array. Should I expect to see a noticeable difference between the two or is that not a question I can really ask because it depends on the particularities of my machine?
Reply


Messages In This Thread
Arrays faster than pandas? - by Mark17 - Jul-26-2021, 06:07 PM
RE: Arrays faster than pandas? - by jefsummers - Jul-27-2021, 04:01 PM
RE: Arrays faster than pandas? - by Mark17 - Jul-31-2021, 12:37 PM
RE: Arrays faster than pandas? - by jefsummers - Jul-31-2021, 09:00 PM
RE: Arrays faster than pandas? - by Mark17 - Aug-02-2021, 03:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pandas dataframes and numpy arrays bytecrunch 1 1,430 Oct-11-2022, 08:08 PM
Last Post: Larz60+
  comparing floating point arrays to arrays of integers in Numpy amjass12 0 1,705 Jul-26-2021, 11:58 AM
Last Post: amjass12
  Numpy arrays and compatability with Fortran arrays merrittr 0 1,955 Sep-03-2019, 03:54 AM
Last Post: merrittr
  Pandas: faster method to count occurrences frame 0 2,373 May-26-2019, 07:45 PM
Last Post: frame

Forum Jump:

User Panel Messages

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