Custom datatype for pathlib.Path #894
Unanswered
jmittelstaedt
asked this question in
Q&A
Replies: 1 comment
-
Curious as well if a solution could apply to any user defined types? I store other objects in my columns than the base pandas types. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was wondering if it was possible to make a custom data type for
pathlib.Path
's. I tried looking at the documentation but the only real examples I could find were extending current data types. I'd tried the code snippet below but I get the errorTypeError: Cannot interpret 'DataType(PathlibPath)' as a data type
. I was wondering if such a thing is possible, and if so what I would need to make this work?Beta Was this translation helpful? Give feedback.
All reactions