Skip to content

Can't use Spacy-Stanza in a databricks/spark UDF #86

@DanTyackDB

Description

@DanTyackDB

I am using Spacy in a pyspark dataframe in a UDF. Regular Spacy works fine, but with spacy-stanza I get a 'pickling error', which suggests to me that the library is not serializable.
Here's the error: [PicklingError: Could not serialize object: TypeError: can't pickle _thread.RLock objects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions