not needed,

pd.DataFrame can handle that
This commit is contained in:
Martin Diehl 2020-01-21 07:14:43 +01:00
parent 2e38582824
commit 9f61b0d34a
1 changed files with 1 additions and 5 deletions

View File

@ -23,11 +23,7 @@ class Table():
"""
self.comments = [] if comments is None else [c for c in comments]
if hasattr(data,'columns'):
self.data = data
self.data.columns = [''] * len(self.data.columns)
else:
self.data = pd.DataFrame(data=data)
self.data = pd.DataFrame(data=data)
self.shapes = shapes
self.__label_condensed()