Skip to content

Missing_ranges for a raw spss .sav data file #221

Answered by ofajardo
steinunns asked this question in Q&A
Discussion options

You must be logged in to vote

very strange, there is something special in your data that causes the error I guess, because I have missing ranges in my tests and it works, see here. It looks very similar to what you are doing ... so I really don't know what is going on ... so some random question to check:

have you tried for example writing missing ranges for only one variable and see if that works?
Does it work if you use take away that meta_dict when writing?. Try to find what is the minimum of arguments to reproduce the issue.
Which version of pyreadstat are you using? the latest? in any case could you try another version to see if the problem is also there?
I guess it should not matter, I wrote 'hi' first and 'lo' …

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@ofajardo
Comment options

@steinunns
Comment options

@ofajardo
Comment options

Answer selected by steinunns
Comment options

You must be logged in to vote
2 replies
@ofajardo
Comment options

@ofajardo
Comment options

Comment options

You must be logged in to vote
1 reply
@ofajardo
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
2 participants