Skip to content

raise TypeError when function returns object-like results #61529

Open
@michael2015tse

Description

@michael2015tse

This roll_apply raises TypeError: must be real number, not str when my customized function returns str / list or other object-like results. Because here it is: ndarray[float64_t] output

ndarray[float64_t] output, counts

Metadata

Metadata

Assignees

No one assigned

    Labels

    Windowrolling, ewma, expanding

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions