Skip to content
Snippets Groups Projects
Commit a2867f21 authored by Michael Zimmermann's avatar Michael Zimmermann
Browse files

Corrected Doc String of from_dataframe according to comments of Larissa

parent 8f5b7f0f
No related branches found
No related tags found
1 merge request!15Added more Doc Strings
This commit is part of merge request !15. Comments created here will be created in the context of that merge request.
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment