OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to construct pandas dataframe from series of arrays

  • Thread starter Thread starter NickD1
  • Start date Start date
N

NickD1

Guest
Hi I have the following pandas Series of numpy arrays:

Code:
 datetime
    03-Sep-15     [53.5688348969, 31.2542494769, 18.002043765]
    04-Sep-15     [46.845084292, 27.0833015735, 15.5997887379]
    08-Sep-15    [52.8701581666, 30.7347431703, 17.6379377917]
    09-Sep-15    [47.9535624339, 27.7063099999, 15.9126963643]
    10-Sep-15     [51.2900606534, 29.600945626, 16.8756260105]

Do you know how I could convert it into a dataframe with 3 columns? Thanks!
<p>Hi I have the following pandas Series of numpy arrays:</p>

<pre><code> datetime
03-Sep-15 [53.5688348969, 31.2542494769, 18.002043765]
04-Sep-15 [46.845084292, 27.0833015735, 15.5997887379]
08-Sep-15 [52.8701581666, 30.7347431703, 17.6379377917]
09-Sep-15 [47.9535624339, 27.7063099999, 15.9126963643]
10-Sep-15 [51.2900606534, 29.600945626, 16.8756260105]
</code></pre>

<p>Do you know how I could convert it into a dataframe with 3 columns? Thanks!</p>
 

Latest posts

A
Replies
0
Views
1
AgencyAnalytics
A
S
Replies
0
Views
1
Stacker Media
S
C
Replies
0
Views
1
CC.Talent
C
Top