Metadata-Version: 2.1
Name: one-line
Version: 0.2.2
Summary: Make every step oneLine.
Home-page: https://github.com/clarenceehsu/oneLine
Author: Zeesain Tsui
Author-email: clarenceehsu@163.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
Requires-Dist: pandas
Requires-Dist: scipy
Requires-Dist: scikit-learn

# oneLine

 Make every step oneLine. 

## What is it?

It's a personal code set for learning and researching, and it provides advanced encapsulation of some libraries, designing to provide a simpler mode of operation and help people to simplify their codes concisely.

> This library is a collection of code used for learning and analysis, and the content is not perfect for the time being.

## Installation

You can install this module with command below:

```
pip install one-line
```

## How to use it?

Import module and dataset:

```python
from oneline import OneData
# this how we measure data in oneLine. OneData is an extension class of DataFrame.

data = OneData('test.csv')
# input the data
```

You can also import data using Pandas:

```python
import pandas as pd
from oneline import OneData

temp = pd.read_csv('test.csv')

data = OneData(temp)
# a DataFrame type data is also acceptable

```

Some example:

```python
data = data.fill_na()
# fill the NaN values

summary = data.summary(info=False)
# simple summary of data, which will print the summary if info is True

data.means('parameter1', hue='parameter2')
# calculate the means, which can have a hue variable applied
```



