Skip to content

write_sav is acting inconsistently for long string variables.  #752

@esul1121

Description

@esul1121

Hello-
I don't think it's a new issue as I found multiple threads here regarding split variables from long string variables.

Here is my example and not sure how to reproduce this.

I was converting a dataframe into .sav format but when the data opened in SPSS some of the string having lengths between 500 to 8000 stayed the same while other string got split into string variables of length 255 each.

Why is it acting inconsistently? It seems like some string managed to accept the maximum original length while some strings split.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorreadstatrequires updates to ReadStat

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions