parent
2e38582824
commit
9f61b0d34a
|
@ -23,11 +23,7 @@ class Table():
|
||||||
|
|
||||||
"""
|
"""
|
||||||
self.comments = [] if comments is None else [c for c in comments]
|
self.comments = [] if comments is None else [c for c in comments]
|
||||||
if hasattr(data,'columns'):
|
self.data = pd.DataFrame(data=data)
|
||||||
self.data = data
|
|
||||||
self.data.columns = [''] * len(self.data.columns)
|
|
||||||
else:
|
|
||||||
self.data = pd.DataFrame(data=data)
|
|
||||||
self.shapes = shapes
|
self.shapes = shapes
|
||||||
self.__label_condensed()
|
self.__label_condensed()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue