[Python] Equivalent of Pandas `to_feather` for Series

Discussão em 'Python' iniciado por Stack, Junho 19, 2025.

  1. Stack

    Stack Membro Participativo

    I want to save a Pandas series to disk in feather format:

    data.to_feather(filepath)


    but I get this error:

    AttributeError: 'Series' object has no attribute 'to_feather'


    I use .to_feather() on dataframes; what is the equivalent for series? If it does not exist, what is the best practice to save a Pandas series to disk?

    Continue reading...

Compartilhe esta Página