<commit_before>TypedMatrix
===========

Typedmatrix is a binary coded format optimized for delivering large amounts of tabular data from a web server to a javascript client without the need to parse on the client

TypedMatrix Module
==================

Read and write typed-matrix formatted strings


Install
=======

TODO: Make this pip-installable

Test
====

Tests are built using unittest2 and can be executed using nose

    cd typedmatrix
    nosetests

TypedMatrix Format
==================

A TypedMatrix is a packed 2 dimensional array of typed values suitable for typecasting to a set of javascript arrays.

Currently two fundamental data types are supported
    Int32
    Float32

Special handling is provided for convertiong datetime values to Float32

The format includes a header containing a json object, which can contain arbitrary content.

The header must contain at least:

- length: indicated the number of rows in the data section
- cols: an array of column definitions.  The length of this array indicates the number of columns in each row
<commit_msg>fix typo<commit_after>TypedMatrix
===========

Typedmatrix is a binary coded format optimized for delivering large amounts of tabular data from a web server to a javascript client without the need to parse on the client

TypedMatrix Module
==================

Read and write typed-matrix formatted strings


Install
=======

TODO: Make this pip-installable

Test
====

Tests are built using unittest2 and can be executed using nose

    cd typedmatrix
    nosetests

TypedMatrix Format
==================

A TypedMatrix is a packed 2 dimensional array of typed values suitable for typecasting to a set of javascript arrays.

Currently two fundamental data types are supported
    Int32
    Float32

Special handling is provided for converting datetime values to Float32

The format includes a header containing a json object, which can contain arbitrary content.

The header must contain at least:

- length: indicated the number of rows in the data section
- cols: an array of column definitions.  The length of this array indicates the number of columns in each row

{'fraction_non_alphanumeric': 0.06816059757236227, 'fraction_numerical': 0.007469654528478058, 'mean_word_length': 4.439086294416244, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3645528', 'n_tokens_mistral': 522, 'n_tokens_neox': 490, 'n_words': 299}