FloatColumnView¶
- class getml.data.columns.FloatColumnView(operator: str, operand1: Optional[Union[float, int, datetime64, _Column, _View]], operand2: Optional[Union[float, int, datetime64, _Column, _View]])[source]¶
Lazily evaluated view on a
FloatColumn
.Column views do not actually exist - they will be lazily evaluated when necessary.
Methods
abs
()Compute absolute value.
acos
()Compute arc cosine.
as_str
()Transforms column to a string.
asin
()Compute arc sine.
assert_equal
([alias])ASSERT EQUAL aggregation.
atan
()Compute arc tangent.
avg
([alias])AVG aggregation.
cbrt
()Compute cube root.
ceil
()Round up value.
cos
()Compute cosine.
count
([alias])COUNT aggregation.
day
()Extract day (of the month) from a time stamp.
erf
()Compute error function.
exp
()Compute exponential function.
floor
()Round down value.
gamma
()Compute gamma function.
hour
()Extract hour (of the day) from a time stamp.
is_inf
()Determine whether the value is infinite.
is_nan
()Determine whether the value is nan.
is_null
()Determine whether the value is nan.
lgamma
()Compute log-gamma function.
log
()Compute natural logarithm.
max
([alias])MAX aggregation.
median
([alias])MEDIAN aggregation.
min
([alias])MIN aggregation.
minute
()Extract minute (of the hour) from a time stamp.
month
()Extract month from a time stamp.
round
()Round to nearest.
second
()Extract second (of the minute) from a time stamp.
sin
()Compute sine.
sqrt
()Compute square root.
stddev
([alias])STDDEV aggregation.
sum
([alias])SUM aggregation.
tan
()Compute tangent.
to_numpy
()Transform column to numpy.ndarray
unique
()Transform column to numpy array containing all distinct values.
update
(condition, values)Returns an updated version of this column.
var
([alias])VAR aggregation.
weekday
()Extract day of the week from a time stamp, Sunday being 0.
with_subroles
(subroles[, append])Returns a new column with new subroles.
with_unit
(unit)Returns a new column with a new unit.
year
()Extract year from a time stamp.
yearday
()Extract day of the year from a time stamp.
Attributes
The last time any of the underlying data frames has been changed.
The length of the column (number of rows in the data frame).
The subroles of this column.
The unit of this column.