Is it possible to drop the index with the PandasSe...
# ask-community
c
Is it possible to drop the index with the PandasSerializer with serialize_kwargs?
k
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?
1
c
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!
👍 1