Thread
#prefect-community
    c

    Charles Liu

    1 year ago
    Is it possible to drop the index with the PandasSerializer with serialize_kwargs?
    Kevin Kho

    Kevin Kho

    1 year ago
    Hi @Charles Liu! I went through the code and it seems like it. Did you try passing
    index=False
    to
    serialize_kwargs
    ?
    PandasSerializer("csv", serialize_kwargs={"index": False})
    something like this?
    c

    Charles Liu

    1 year ago
    AH it has to be a dict, just got back from digging around in serializer.py and discovered the same as you said comments
    Giving your suggestion a shot now!
    It works! I'm going to add in other args now thanks!