Links
Comment on page

General Functions

Top level functions that can be called from the Danfo namespace

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.
Convert categorical variable into dummy/indicator variables. Similar to OneHotEncoding

Data Normalization

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

Working with DateTime

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.
A function that loads a JSON object as a stream, returning intermediate rows as a DataFrame.
A function that loads a CSV object as a stream, and applies a map-reduce function to intermediate rows.
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.