Skip to content

fix: Set correctly the columns name in data frame#36

Merged
rouille merged 1 commit intodevelopfrom
dataframeid
Sep 19, 2019
Merged

fix: Set correctly the columns name in data frame#36
rouille merged 1 commit intodevelopfrom
dataframeid

Conversation

@rouille
Copy link
Copy Markdown
Collaborator

@rouille rouille commented Sep 18, 2019

This commit fix an issue when a data frame only has one column.

@rouille rouille added the bug Something isn't working label Sep 18, 2019
@rouille rouille requested a review from kasparm September 18, 2019 18:54
@rouille rouille self-assigned this Sep 18, 2019
Comment thread postreise/extract/extract_data.py Outdated
pass

for k, v in outputs_id.items():
try:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not sure try is best practice for the case when you don't know the case.
Just a detail.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Ok. I can do a if/else based on type then. Would it work for you?

Copy link
Copy Markdown
Collaborator Author

@rouille rouille Sep 18, 2019

Choose a reason for hiding this comment

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

This has been implemented. The rebase has been done.

@rouille rouille merged commit 4366697 into develop Sep 19, 2019
@rouille rouille deleted the dataframeid branch September 19, 2019 01:37
@ahurli ahurli mentioned this pull request Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants