Skip to content

A data wrangling library for quick and dirty data analysis

Notifications You must be signed in to change notification settings

coffeecup-winner/tongs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Tongs is a data wrangling library for quick and dirty data analysis.

Tongs is designed to be used in a LINQPad or any other C# code execution environment.

Example - Searching for keywords in files:

using Tongs;

Cube.Create(
    Get.Files("<tongs-root>", "*.cs"),
    new[] { "where", "readonly" },
    (f, w) => f.Contains(w)) // not tokenized, just a substring

    .Print("Keywords by file:")
    .PrintDump()

    .Transpose()

    .Print("Files by keyword:")
    .PrintDump();

will output something like

Keywords by file:
<tongs-root>\src\Tongs\ConsoleOutputExtensions.cs
    where
<tongs-root>\src\Tongs\Option.cs
    readonly
<tongs-root>\src\Tongs\DataSource\FileDataSource.cs
    readonly
<tongs-root>\src\Tongs\DataSource\StringDataSource.cs
    readonly
<tongs-root>\src\Tongs\Storage\NCube.cs
    readonly

Files by keyword:
where
    <tongs-root>\src\Tongs\ConsoleOutputExtensions.cs
readonly
    <tongs-root>\src\Tongs\Option.cs
    <tongs-root>\src\Tongs\DataSource\FileDataSource.cs
    <tongs-root>\src\Tongs\DataSource\StringDataSource.cs
    <tongs-root>\src\Tongs\Storage\NCube.cs

About

A data wrangling library for quick and dirty data analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages