Skip to content

Commit b0721d3

Browse files
author
Kevin D Smith
committed
Update to fix pandas 1.0.0 issue
1 parent 74a8acc commit b0721d3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

swat/dataframe.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,7 @@ def __init__(self, data=None, index=None, columns=None, dtype=None, copy=False,
415415
self.label = a2u(label)
416416
self.title = a2u(title)
417417
# TODO: Should attrs be walked and converted to unicode?
418-
self.attrs = attrs
419-
if self.attrs is None:
420-
self.attrs = {}
418+
self.attrs = attrs or {}
421419
self.formatter = formatter
422420
if self.formatter is None:
423421
self.formatter = SASFormatter()

0 commit comments

Comments
 (0)