Python Forum
Change a numpy array to a dataframe
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change a numpy array to a dataframe
#1
As anyone can see from the attached screenshot after I scaled a dataframe, it is now a numpyndarray. That would make it hard to save. SO how do I conveit ot a datframe?

The attachment is a screenshot of the python code in question.

How can I change a numpyndarray back to a dataframe?

Any help appreciated.

Respectfully,


Led_Zeppelin

Attached Files

Thumbnail(s)
   
Reply


Messages In This Thread
Change a numpy array to a dataframe - by Led_Zeppelin - Jan-26-2023, 06:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python code to calculate mean of an array of numbers using numpy viren 3 244 May-29-2024, 04:49 PM
Last Post: Gribouillis
  Elegant way to apply each element of an array to a dataframe? sawtooth500 7 645 Mar-29-2024, 05:51 PM
Last Post: deanhystad
  Convert numpy array to image without loading it into RAM. DreamingInsanity 7 6,171 Feb-08-2024, 09:38 AM
Last Post: paul18fr
  IPython errors for numpy array min/max methods muelaner 1 696 Nov-04-2023, 09:22 PM
Last Post: snippsat
  Expand the range of a NumPy array? PythonNPC 0 861 Jan-31-2023, 02:41 AM
Last Post: PythonNPC
  from numpy array to csv - rounding SchroedingersLion 6 2,463 Nov-14-2022, 09:09 PM
Last Post: deanhystad
  How to change UTC time to local time in Python DataFrame? SamKnight 2 1,754 Jul-28-2022, 08:23 AM
Last Post: Pedroski55
  numpy.array has no attribute head Led_Zeppelin 1 1,424 Jul-13-2022, 12:56 AM
Last Post: Led_Zeppelin
  Seeing al the data in a dataframe or numpy.array Led_Zeppelin 1 1,246 Jul-11-2022, 08:54 PM
Last Post: Larz60+
  array change svm 6 1,648 Jun-23-2022, 01:01 PM
Last Post: svm

Forum Jump:

User Panel Messages

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