signaflo / java-timeseries

Time series analysis in Java
MIT License
195 stars 49 forks source link

How to resample a time series data? #39

Open savyad opened 4 years ago

savyad commented 4 years ago

Hi there i got a time series data,which i want to resample by given time interval by two methods i.e by close and average. is there any possibility that we can achieve this like we have functionality in python pandas

dataframe.resample('3T',howto=mean)

if it is possible then how to,and if not is there any suggestions.

signaflo commented 4 years ago

@savyad , I'm not sure if this is currently possible. There is an interpolation package in the math module and an aggregation method in the TimeSeries class. I have not had to deal with resampling of time series data in my past work, so I'm labeling this as "Investigation Needed"