Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Transcript structure generator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
zavolan_group
tools
Transcript structure generator
Commits
a2867f21
Commit
a2867f21
authored
Nov 16, 2022
by
Michael Zimmermann
Browse files
Options
Downloads
Patches
Plain Diff
Corrected Doc String of from_dataframe according to comments of Larissa
parent
8f5b7f0f
No related branches found
No related tags found
1 merge request
!15
Added more Doc Strings
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsg/main.py
+5
-3
5 additions, 3 deletions
tsg/main.py
with
5 additions
and
3 deletions
tsg/main.py
+
5
−
3
View file @
a2867f21
...
...
@@ -216,9 +216,11 @@ class Gtf:
self
.
df
=
pd
.
concat
([
filter_df
(
chunk
)
for
chunk
in
reader
])
def
from_dataframe
(
self
,
df
:
pd
.
DataFrame
)
->
None
:
"""
Checks which columns belong to the free-text part of the GTF-file.
Checks if there are no columns called free-text and if so, sets the value of self.parsed to TRUE.
"""
Initializes Gtf object from pandas Dataframe.
Part of initialization is:
Set dataframe attribute
Check which columns belong to the free-text part of the GTF-file.
Check if there are no columns called free-text and if so, sets the value of parsed attribute to TRUE.
Args:
df: DataFrame
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment