| Package | Description |
|---|---|
| tech.bitey.dataframe |
| Modifier and Type | Class and Description |
|---|---|
class |
DateSeriesImpl |
| Modifier and Type | Method and Description |
|---|---|
DateSeries |
DateSeries.append(DateSeries df)
Appends the specified
DateSeries to this one by calling
Column.append(Column) on both the key and value columns, and keeping
the meta-data from this dataframe. |
DateSeries |
DateSeriesImpl.append(DateSeries df) |
DateSeries |
DateSeriesBuilder.build()
Sorts the added points by date and returns a new
DateSeries. |
static DateSeries |
DateSeriesFactory.create(DateColumn dates,
DoubleColumn values)
Returns a
DateSeries with the specified dates and values, using the
default column names: "DATES" and "VALUES" |
static DateSeries |
DateSeriesFactory.create(DateColumn dates,
String dateColumnName,
DoubleColumn values,
String valueColumnName)
Returns a
DateSeries with the specified dates, values, and column
names. |
DateSeries |
DateSeries.empty()
Returns an empty
DateSeries. |
DateSeries |
DateSeriesImpl.empty() |
DateSeries |
DateSeries.filter(Predicate<Row> criteria)
Returns a
DateSeries containing the points which pass the specified
Predicate. |
DateSeries |
DateSeriesImpl.filter(Predicate<Row> criteria) |
DateSeries |
DateSeries.head()
Returns a
DateSeries containing the first 10 points from this time
series, or this time series if it contains fewer than 10 points. |
DateSeries |
DateSeriesImpl.head() |
DateSeries |
DateSeries.head(int count)
Returns a
DateSeries containing the first count points from
this time series, or this time series if it contains fewer than count
points. |
DateSeries |
DateSeriesImpl.head(int count) |
DateSeries |
DateSeries.headTo(LocalDate toKey)
Returns a
DateSeries containing the points with dates strictly less
than toKey. |
DateSeries |
DateSeriesImpl.headTo(LocalDate toKey) |
static DateSeries |
DateSeriesFactory.readFrom(File file)
Load a time series from a file created via
DataFrame.writeTo(File). |
static DateSeries |
DateSeriesFactory.readFrom(ReadableByteChannel channel)
Read a time series from the specified
ReadableByteChannel. |
DateSeries |
DateSeries.sampleN(int sampleSize)
Returns a
DateSeries containing sampleSize points selected at
random. |
DateSeries |
DateSeriesImpl.sampleN(int sampleSize) |
DateSeries |
DateSeries.sampleX(double proportion)
Returns a
DateSeries containing size()*proportion points
selected at random. |
DateSeries |
DateSeriesImpl.sampleX(double proportion) |
DateSeries |
DateSeries.subSeries(int fromIndex,
int toIndex)
Returns a
DateSeries containing the points between the specified
fromIndex, inclusive, and toIndex, exclusive (if
fromIndex and toIndex are equal, the returned time series
is empty). |
DateSeries |
DateSeriesImpl.subSeries(int fromIndex,
int toIndex) |
DateSeries |
DateSeries.subSeries(LocalDate fromKey,
boolean fromInclusive,
LocalDate toKey,
boolean toInclusive)
|
DateSeries |
DateSeriesImpl.subSeries(LocalDate fromKey,
boolean fromInclusive,
LocalDate toKey,
boolean toInclusive) |
DateSeries |
DateSeries.subSeries(LocalDate fromKey,
LocalDate toKey)
Returns a
DateSeries containing the points with dates are greater
than or equal to fromKey and strictly less than toKey. |
DateSeries |
DateSeriesImpl.subSeries(LocalDate fromKey,
LocalDate toKey) |
DateSeries |
DateSeries.tail()
Returns a
DateSeries containing the last 10 points from this time
series, or this time series if it contains fewer than 10 points. |
DateSeries |
DateSeriesImpl.tail() |
DateSeries |
DateSeries.tail(int count)
Returns a
DateSeries containing the last count points from
this dataframe, or this time series if it contains fewer than count
points. |
DateSeries |
DateSeriesImpl.tail(int count) |
DateSeries |
DateSeries.tailFrom(LocalDate fromKey)
Returns a
DateSeries containing the points with dates greater than or
equal to fromKey. |
DateSeries |
DateSeriesImpl.tailFrom(LocalDate fromKey) |
DateSeries |
DataFrame.toDateSeries(int columnIndex)
Returns a
DateSeries using the key column from this dataframe as the
date column in the time series, and using the specified column as the values
column in the time series. |
default DateSeries |
DateSeries.toDateSeries(int columnIndex)
Returns this time series
|
DateSeries |
DataFrame.toDateSeries(String columnName)
Returns a
DateSeries using the key column from this dataframe as the
date column in the time series, and using the specified column as the values
column in the time series. |
default DateSeries |
DateSeries.toDateSeries(String columnName)
Returns this time series
|
DateSeries |
DateSeries.transform(DateSeries series,
DoubleBinaryOperator op)
Joins this time series with the specifies series, and combines their values
point-wise using the specified operation.
|
DateSeries |
DateSeriesImpl.transform(DateSeries ts,
DoubleBinaryOperator op) |
DateSeries |
DateSeries.transform(DoubleUnaryOperator op)
Returns a new time series where the values have been transformed by the
provided operation.
|
DateSeries |
DateSeriesImpl.transform(DoubleUnaryOperator op) |
| Modifier and Type | Method and Description |
|---|---|
DateSeries |
DateSeries.append(DateSeries df)
Appends the specified
DateSeries to this one by calling
Column.append(Column) on both the key and value columns, and keeping
the meta-data from this dataframe. |
DateSeries |
DateSeriesImpl.append(DateSeries df) |
DateSeries |
DateSeries.transform(DateSeries series,
DoubleBinaryOperator op)
Joins this time series with the specifies series, and combines their values
point-wise using the specified operation.
|
DateSeries |
DateSeriesImpl.transform(DateSeries ts,
DoubleBinaryOperator op) |
Copyright © 2020. All rights reserved.