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

importCSV doesnt work #75

Closed
pgrozas opened this issue Oct 2, 2020 · 2 comments
Closed

importCSV doesnt work #75

pgrozas opened this issue Oct 2, 2020 · 2 comments

Comments

@pgrozas
Copy link

pgrozas commented Oct 2, 2020

Describe the bug

importCSV doesnt work, i used the form in wiki table.importCSV(filename, sep=','), but "sep" says unexpected, even delete this appears problem with charmap. Using pandastable works flawsless but in tinkertable no.

TypeError: importCSV() got an unexpected keyword argument 'sep'
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 486: character maps to

To Reproduce

System

windows 10

Operating system:
Python version: 3
Installation method (pip, git clone): pip

@ainoneko
Copy link
Contributor

ainoneko commented Mar 21, 2021

I grepped the source and found that there are different def importCSV ... in Tables.py and TableModels.py, so
table.model.importCSV(filename, sep=';')
should work.
(It works for me, but it prepends the loaded data with 10 empty columns.)

Installation method (pip, git clone): pip

This bug has been fixed in the repository: Issue #58 , but IMO not completely: the sep parameter was not passed to the TableModels.importCSV.

@dmnfarrell
Copy link
Owner

should be fixed

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

3 participants