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

csv导入数据空会变为空字符串 #585

Open
Crowsflying opened this issue Nov 18, 2024 · 0 comments
Open

csv导入数据空会变为空字符串 #585

Crowsflying opened this issue Nov 18, 2024 · 0 comments

Comments

@Crowsflying
Copy link

Expected behaviour
1.csv文件跟execl预期结构一致

Actual behaviour
1.csv导入除了string外,其他结构均无法转化成功会报错
2.csv导入解析后均为空字符串,不为空

I'm seeing this behaviour on
[√] Magicodes.IE.Excel
[√] Magicodes.IE.Csv
[√ ] Magicodes.IE.Core
package versions
Example: Magicodes.IE.Excel 2.7.4.5, Magicodes.IE.Core 2.7.4.5 ,Magicodes.IE.Csv 2.7.4.5

So how can we reproduce this?
ooom2.csv

ooom2.xlsx

Awesome ⭐⭐⭐⭐⭐
附件.docx

主要有2个问题
1.导入的格式除了string以外,他都会报错无法转化如datetime,int类型
2.导入空数据默认转化为"",不是我想要的

这两点在execl导入中没有任何问题,如有疑问请回复我会尽快反馈,谢谢帮忙

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

No branches or pull requests

1 participant