Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 3.75 KB

File metadata and controls

55 lines (37 loc) · 3.75 KB
description
Top level functions that can be called from the Danfo namespace

General Functions

Data transformation

merge Merge DataFrame or named Series objects with a database-style join.
concat Concatenate danfo objects along a particular axis with optional set logic along the other axes.
getDummies Convert categorical variable into dummy/indicator variables. Similar to OneHotEncoding

Data Normalization

LabelEncoder Encode target labels with value between 0 and n_classes-1.
OneHotEncoder Encode categorical features as a one-hot numeric array.
StandardScaler Standardize features by removing the mean and scaling to unit variance
MinMaxScaler Transform features by scaling each feature to a given range

Working with DateTime

toDateTime Convert argument to datetime.
dateRange Return a fixed frequency Datetime Index.
Dt A class that converts strings of Date Time into a usable format, by exposing various helper methods.

Streaming Functions

streamCSV A function that loads a CSV object as a stream, returning intermediate rows as a DataFrame.
streamJSON A function that loads a JSON object as a stream, returning intermediate rows as a DataFrame.
streamCSVTransformer A function that loads a CSV object as a stream, and applies a map-reduce function to intermediate rows.
convertFunctionTotransformer A function to convert any JS function into a Stream transformer.

Utility and Configurations

Utils A utility class with helper methods mostly used internally.
Config Base configuration class for NDframe objects

Strings

Str A class that converts strings into a usable format, by exposing various helper methods.

Internal Libs

tensoflow Exported Tensorflow.js library. This helps to avoid duplicated Tensorflow.js library use.