-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENH] Save Data: Support saving to Excel #3453
Conversation
Orange/data/io.py
Outdated
data.metas) | ||
headers = cls.header_names(data) | ||
workbook = xlsxwriter.Workbook(filename) | ||
print(filename) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As some would say, this is print
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😱
@@ -47,7 +48,9 @@ def test_writer(self): | |||
self.widget.compress = d | |||
self.widget.filetype = t | |||
self.widget.update_extension() | |||
self.assertEqual(len(self.widget.get_writer_selected().EXTENSIONS), 1) | |||
print(self.widget.get_writer_selected()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to point out that this is a print
, too. :)
9907cab
to
7273ada
Compare
Codecov Report
@@ Coverage Diff @@
## master #3453 +/- ##
==========================================
+ Coverage 83.27% 83.27% +<.01%
==========================================
Files 365 365
Lines 64305 64326 +21
==========================================
+ Hits 53549 53568 +19
- Misses 10756 10758 +2 |
Codecov Report
@@ Coverage Diff @@
## master #3453 +/- ##
==========================================
- Coverage 83.3% 83.27% -0.03%
==========================================
Files 365 365
Lines 64409 64324 -85
==========================================
- Hits 53654 53566 -88
- Misses 10755 10758 +3 |
xlwt only supported the old, stable .xls format. IIUC, the proposed change now introduces inability to read files of said format. |
7273ada
to
83650eb
Compare
Issue
Implements #3096.
Description of changes
Continued from #3306.
Remove support for .ods, since it didn't work.
Implement simple save to Excel, support only .xslx (xlwt didn't work with .xslx).
Includes