Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Cittena
cittena
Commits
7b7bac86
Commit
7b7bac86
authored
Nov 25, 2018
by
Niels-Oliver Walkowski
Browse files
change return value into pandas dataframe
parent
efaade23
Changes
1
Show whitespace changes
Inline
Side-by-side
itten/movie.py
View file @
7b7bac86
...
...
@@ -156,7 +156,8 @@ class Movie(object):
# mit übergebe ?
data
=
views
.
MultivariateSequence
(
self
.
_frames
,)
data
.
populate
(
ctrst
=
ctrst
,
method
=
meth
,
frm_stp
=
stp
)
data
=
pd
.
DataFrame
(
data
,
columns
=
[
'frame'
,
'bin'
,
'pixels'
])
data
=
pd
.
DataFrame
(
data
,
columns
=
[
'frame'
,
'bin'
,
'pixels'
],
dtype
=
np
.
int64
)
data
[
'time'
]
=
data
[
'frame'
].
apply
(
helpers
.
frame2time
,
fps
=
4
)
return
data
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment