Open drixie opened 3 years ago
@drixie Since this is a feature request, can you give us more details using the feature issue template: https://github.com/opensource9ja/danfojs/issues/new?assignees=&labels=&template=feature_request.md&title=
For Quant, danfo.js needs more APIs as pandas to manipulate price data, and interop with ta-lib for technical analysis.
pandas.DataFrame.resample
is just one of them.
Comparing to Python in data science, JavaScript is better for real-time performance, visualization and building an App/WebPage for shipping, but danfo.js needs more APIs for data handling in many other fields.
We'd like to see that danfo.js supports Quantitative Finance.
@xareelee thanks for bringing this to our notice. can you help list some of the most important methods in pandas that are used in Quantitative analysis and add then to the features list
@steveoni For time series analysis, you'll need at least:
rolling
/ expanding
/ ewm
shift
resample
It's not easy to list "the most important methods". It depends on what's the job.
ohlc
to find the prices in a time frame.read_html
and read_sql
to fetch data from web pages and databases;any plan for this ?
Would be really useful to have this in a JS library.
Stale issue message
I'm also really keen to see resample
added.
I'm also really keen to see resample added.
Any news on this feature request? Or another work around for it?
Any updates ? Methods mentioned above are quite cruicial for time series analysis and it is bit pitty that these are not included in danfo .. (yet)
This is useful for time series data especially OHLC.
Use case: You have 1 min stock prices, and you want it aggregated to hourly prices before performing additional analysis.
See: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.resample.html