Python Forum
How to covert raw data into panel data
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to covert raw data into panel data
#1
How do I convert datastream time-series raw data with two variables (stock price & market cap) into panel data? In particular, How do I reshape it to the format with the column labels of panel data ['Date', 'Name', 'Stock Price', 'market Cap'] in python? [Image: search?tbm=isch&source=hp&biw=1920&bih=9...arFJ0GTtM:]

Thanks for your help.
Reply
#2
Have you looked at the pandas library?

There is specific support for panels, although this has been deprecated in favour of richer dataframe options that should meet your needs.
I am trying to help you, really, even if it doesn't always seem that way
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Multiple XML file covert to CSV output file krish143 1 3,353 Jul-27-2018, 06:55 PM
Last Post: ichabod801
  Foundations of Data Science Data 8.2x tryingtolearnpython 2 3,673 Jul-23-2018, 02:48 AM
Last Post: tryingtolearnpython
  Login Module Help - Comparing data in a text file to data held in a variable KeziaKar 0 2,258 Mar-08-2018, 11:41 AM
Last Post: KeziaKar

Forum Jump:

User Panel Messages

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