Skip to content
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

Fix to_csv for multi-index columns support. #983

Merged
merged 1 commit into from
Oct 31, 2019

Conversation

ueshin
Copy link
Collaborator

@ueshin ueshin commented Oct 31, 2019

No description provided.

@softagram-bot
Copy link

Softagram Impact Report for pull/983 (head commit: 789d03a)

⭐ Change Overview

Showing the changed files, dependency changes and the impact - click for full size
(Open in Softagram Desktop for full details)

📄 Full report

Impact Report explained. Give feedback on this report to [email protected]

with self.assertRaises(ValueError):
kdf.to_csv(self.tmp_dir, num_files=1, sep='|', columns=[('x', 'a')])

kdf.to_csv(self.tmp_dir, num_files=1, sep='|', header=['a'], columns=[('x', 'a')])
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually pandas doesn't support columns= ... for multi-index columns.

@codecov-io
Copy link

codecov-io commented Oct 31, 2019

Codecov Report

Merging #983 into master will increase coverage by 1.51%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #983      +/-   ##
==========================================
+ Coverage   93.24%   94.76%   +1.51%     
==========================================
  Files          34       34              
  Lines        6487     6493       +6     
==========================================
+ Hits         6049     6153     +104     
+ Misses        438      340      -98
Impacted Files Coverage Δ
databricks/koalas/generic.py 96.17% <83.33%> (+0.6%) ⬆️
databricks/conftest.py 97.87% <0%> (+4.25%) ⬆️
databricks/koalas/__init__.py 85.36% <0%> (+7.31%) ⬆️
databricks/koalas/usage_logging/usage_logger.py 100% <0%> (+50%) ⬆️
databricks/koalas/usage_logging/__init__.py 97.27% <0%> (+72.72%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f228961...789d03a. Read the comment docs.

@HyukjinKwon HyukjinKwon merged commit 44c5fc0 into databricks:master Oct 31, 2019
@ueshin ueshin deleted the to_csv branch October 31, 2019 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants