Skip to content
Snippets Groups Projects

Added more Doc Strings

Merged Michael Zimmermann requested to merge Michis_Doc_Strings into main
1 file
+ 5
3
Compare changes
  • Side-by-side
  • Inline
+ 5
3
@@ -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
Loading