semvec/pypi-packages huggingface dataset:
list-flatten 0.1.6
A simple python package to flatten a list of lists. Works for 2d and 3d lists.
License: MIT
Requires Python: >=3.8,<4.0

# list-flatten

list-flatten is a Python library used to flatten a list of lists. Works for 2d and 3d lists.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install list-flatten.

```bash
pip install list-flatten
```

## Usage

```python
import list-flatten as flatten_list2darr

# returns 'words'
print(flatten_list2darr([[1,2], [3,4,5]]))
print(flatten_list3darr([[[1,2], [3,4], [5,6,7]]]))



## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)