Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matthew Krafczyk
pandas_sequence
Commits
cb99efe2
Commit
cb99efe2
authored
Feb 05, 2021
by
Matthew Krafczyk
Browse files
Properly pass arguments
parent
2a1970e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
sequence.py
View file @
cb99efe2
...
...
@@ -184,7 +184,7 @@ def sequence_df(df, num_before, num_after, beg_val=None, end_val=None, inc_val=T
"""
# Compute Group ids
G_ids
=
contiguous_group_indices
(
df
,
index_
val
,
sequence_col
,
sequence_function
)
G_ids
=
contiguous_group_indices
(
df
,
index_
level
=
index_level
,
sequence_col
=
sequence_col
,
sequence_function
=
sequence_function
)
dfs
=
[]
max_id
=
G_ids
.
max
()
...
...
Write
Preview
Markdown
is supported
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