Skip to content

Conversion SAS data to pandas dataframe failed with "sasdata" #467

Answered by tomweber-sas
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, so I think the problem is with using the COM access method. The error is happening somewhere between it and the third party interface it's using to try to interact with SAS. Also, the saspy version you have is a year old, so there could be something that was fixed in that access method since then, but you should really use the IOM access method instead. It works and performs significantly better and has much better functionality (https://sassoftware.github.io/saspy/configuration.html#iom-using-com).
Can you try using IOM instead? (https://sassoftware.github.io/saspy/configuration.html#iom-using-java).
The other thing I see is that the encodings don't match, and it could be that there…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected
Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant