-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
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? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
There was a very long string in one of string columns. When I removed that record I don't experience this error anymore. The longest string was 2800 characters, the second longest was around 500. Do you know if there is a max of "allowed" number of characters before it starts breaking the data? |
Beta Was this translation helpful? Give feedback.
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' …