<commit_before># Numpy

## type_conversion

`all_ndarray_to_list(f)`

`f` is a dict and this function will convert all ndarray to list

`coordinate_to_contour)contour`

```python
coor = (array(coor_y, ...), array(coor_x, ...))
cnt = [
    [[coor_x1, coor_y1]],
    [[coor_x2, coor_y2]],
    ..., dtype='int32'
]
cnt.shape = (len(coor[0]), 1, 2)
```<commit_msg>modified: README<commit_after># Numpy

## type_conversion

* `all_ndarray_to_list(f)`

`f` is a dict and this function will convert all ndarray to list

* `coordinate_to_contour(contour)`

```python
coor = (array(coor_y, ...), array(coor_x, ...))
cnt = [
    [[coor_x1, coor_y1]],
    [[coor_x2, coor_y2]],
    ..., dtype='int32'
]
cnt.shape = (len(coor[0]), 1, 2)
```
{'fraction_non_alphanumeric': 0.19505494505494506, 'fraction_numerical': 0.024725274725274724, 'mean_word_length': 4.207142857142857, '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': '6109625', 'n_tokens_mistral': 329, 'n_tokens_neox': 312, 'n_words': 65}