class Dataframe(Any)

Defined in:

cryzzly/dataframe.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(data : Any, headers : Array(String) = [] of String, index_col : Int32 = -1) #

[View source]

Class Method Detail

def self.gen_col_names(num) #

[View source]
def self.load_csv(filename, index_col = -1, index_type = "datetime", index_format = "%Y-%m-%d %H:%M:%S", headers = true) #

[View source]

Instance Method Detail

def data : Any #

[View source]
def find_indexes(*columns : String) #

[View source]
def headers #

[View source]
def index_col : Int32 #

[View source]
def length #

[View source]
def max(*columns : String) #

[View source]
def mean(*columns : String) : Dataframe #

[View source]
def min(*columns : String) #

[View source]
def percentile(*columns : String, p : Float64) #

[View source]
def plot(*columns : String, filename = Time.now.to_s) #

[View source]
def shape #

[View source]
def std(*columns : String) #

[View source]
def sum(*columns : String) #

[View source]
def to_csv(*columns, filename = Time.local.to_s, headers = true) #

[View source]