You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interested if there are recommended best practices for extending DataFrames.
I work on a project where we have an API for querying a database that returns DataFrames. I basically want a way to associate extra metadata with each column in the DataFrame. At a minimum this would allow me to run commands like df.some_column.canonical_url and get a link back to a web service.
There are some other things that I would like to do like giving columns aliases for better legends when plotted.
I know I could return a wrapped DataFrame object from the api, but the DataFrame would lose its wrapper once operations were performed.
The text was updated successfully, but these errors were encountered:
I'm interested if there are recommended best practices for extending DataFrames.
I work on a project where we have an API for querying a database that returns DataFrames. I basically want a way to associate extra metadata with each column in the DataFrame. At a minimum this would allow me to run commands like
df.some_column.canonical_url
and get a link back to a web service.There are some other things that I would like to do like giving columns aliases for better legends when plotted.
I know I could return a wrapped DataFrame object from the api, but the DataFrame would lose its wrapper once operations were performed.
The text was updated successfully, but these errors were encountered: