pepkit / peppy

Project metadata manager for PEPs in Python
https://pep.databio.org/peppy
BSD 2-Clause "Simplified" License
37 stars 12 forks source link

Add orient argument to `to_dict` method #449

Closed khoroshevskyi closed 1 year ago

khoroshevskyi commented 1 year ago

It would be niece to add orient argument, that sets orientation of the output structure of the samples and subsamples

https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_dict.html

Related issue: https://github.com/pepkit/pephub/issues/186