-
Notifications
You must be signed in to change notification settings - Fork 644
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
Reading data with Excel drops columns with no values. #822
Comments
My particular use case: I understand that typing the column would then become an issue - but it seems that converting the excel file to Csv and then reading it solves the missing column issue - so if dropping empty columns is the stance you want to take on it as a project, then the CSV reader is working strangely (because it keeps empty columns). -> Either way, it seems like one could reasonably expect the behaviour to be the same if the file is a CSV or an Excel file. Maybe this sort of thing should have a setting that can be passed into the XlsxReadOptions / CsvReadOptions? I guess this is similar to #812 but for excel Edit: That would be an enhancement |
I have they same problem, this will be fixed??? I need don't remove column with data empty. |
I will be happy to provide a PR if something like |
Thank you, but I would rather not have to supervise student work. I have
very limited time for this project.
…On Sun, Apr 18, 2021 at 8:44 AM Arslana ***@***.***> wrote:
Hi! We are a group of students ( Zhengxin <https://github.com/Carl-Rabbit>,
Jiashu <https://github.com/wateryloo>, Zunyao
<https://github.com/DanielMao1>, Wendi <https://github.com/LUUUAN> and
me) who would like to contribute to open source projects. Can we work on
this issue? We want to let user specify the type of empty column in
advance, otherwise it will not be created as before.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#822 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2FPARJY3NHM3ZTSP7N333TJLH23ANCNFSM4OZB4E4A>
.
|
When reading an excel with data like this:
"my_empty_col" does not exist on the resulting Table.
For reference the Csv reader seems to work fine.
I think this has something to do with the way columns are added in XlsxReader, the createColumn is inside the cell != null check, so it never gets added?
Steps to reproduce:
The text was updated successfully, but these errors were encountered: