do not clutter comments
This commit is contained in:
parent
5bc1c98da7
commit
1315029196
|
@ -22,7 +22,7 @@ class Table():
|
||||||
Additional, human-readable information.
|
Additional, human-readable information.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
self.comments = ['table.py v {}'.format(version)] if not comments else [c for c in comments]
|
self.comments = [c for c in comments]
|
||||||
self.data = pd.DataFrame(data=data)
|
self.data = pd.DataFrame(data=data)
|
||||||
self.shapes = shapes
|
self.shapes = shapes
|
||||||
self.__label_condensed()
|
self.__label_condensed()
|
||||||
|
@ -79,8 +79,7 @@ class Table():
|
||||||
else:
|
else:
|
||||||
raise Exception
|
raise Exception
|
||||||
|
|
||||||
comments = ['table.py:from_ASCII v {}'.format(version)]
|
comments = [f.readline()[:-1] for i in range(1,header)]
|
||||||
comments+= [f.readline()[:-1] for i in range(1,header)]
|
|
||||||
labels = f.readline().split()
|
labels = f.readline().split()
|
||||||
|
|
||||||
shapes = {}
|
shapes = {}
|
||||||
|
|
Loading…
Reference in New Issue