Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support pandas.DataFrames AND numpy.ndarrays as inputs? #38

Open
CrepeGoat opened this issue Sep 8, 2021 · 1 comment
Open

support pandas.DataFrames AND numpy.ndarrays as inputs? #38

CrepeGoat opened this issue Sep 8, 2021 · 1 comment
Labels
endaq.calc Related to `endaq.calc` enhancement New feature or request

Comments

@CrepeGoat
Copy link
Contributor

atm the functions herein operate primarily on DataFrames, because they inherently bind timestamps/frequencies to the data samples, which are used in ~every function in this package. However, I personally have noticed some qualitative slowdowns in the test executions since converting from the ndarray API to the DataFrame API. This makes me think there might be some value in supporting both API's: the DataFrame one for convenience, and the ndarray one for better performance. (We could even support xarrays in a third API.)

@CrepeGoat
Copy link
Contributor Author

CrepeGoat commented Sep 8, 2021

Some options for implementing this multi-API:

@CrepeGoat CrepeGoat changed the title support pandas.DataFrames and numpy.ndarrays as inputs? support pandas.DataFrames *and* numpy.ndarrays as inputs? Sep 8, 2021
@CrepeGoat CrepeGoat changed the title support pandas.DataFrames *and* numpy.ndarrays as inputs? support pandas.DataFrames AND numpy.ndarrays as inputs? Sep 8, 2021
@StokesMIDE StokesMIDE transferred this issue from MideTechnology/endaq-python-calc Nov 16, 2021
@StokesMIDE StokesMIDE added the endaq.calc Related to `endaq.calc` label Nov 16, 2021
@pscheidler pscheidler added the enhancement New feature or request label Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
endaq.calc Related to `endaq.calc` enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants