JSPM

danfomojo

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q31915F
  • License MIT

DanfoMojo is a javascrip library that provides a series of utility functions to tidy data frame based on danfojs.

Package Exports

  • danfomojo
  • danfomojo/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (danfomojo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

danfoMojo: A javascript data analysis toolkit based on danfojs

What is it?

danfoMojo is a javascript package that provides a series utility functions to tidy and manipulate data frame based on danfojs. It is heavily inspired by both Pandas and tidyr library which means that users familiar with Pandas or tidyr from data science community, can easily pick up the functionalities of danfoMojo.

Main Features

  • dfd_unite_cols: Unite multiple columns into one by pasting strings together
  • dfd_separate_col: Separate a character column into multiple columns with a regular expression or numeric locations
  • dfd_groupby_pivot: dfd_groupby_pivot() takes an existing data frame and converts it into a grouped data frame where operations are performed "by group".
  • dfd_pivot_wider: "widens" data, increasing the number of columns and decreasing the number of rows. The inverse transformation is dfd_pivot_longer()
  • dfd_pivot_longer: increasing the number of rows and decreasing the number of columns. The inverse transformation is dfd_pivot_wider().

Installation

npm install danfoMojo