add pandas conversion functions