1.0.0 • Published 2 years ago

danfomojo v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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