semvec/pypi-packages huggingface dataset:
quantclean 0.0.2
Quantclean is a program that reformats every financial dataset to US Equity TradeBar
License: MIT

# Quantclean 🧹

<strong><em>"Make it cleaner, make it leaner"</em></strong>

Already used by several people working in the quant and finance industries, Quantclean is the all-in-one tool that will help you to reformat your dataset and clean it.

Quantclean is a program that **reformats** every financial dataset to **US Equity TradeBar** (Quantconnect format)

We all faced the problem of reformating or data to a standard. Manual data cleaning is clearly boring and take time. Quantclean is here to help you and to make you life easier as a quant.

Works great with datas from Quandl, Algoseek, Alpha Vantage, yfinance, and many other more...

## Few things you may want to know before getting started 🍉

1) Even if you don't have an open, close, volume, high, low, date column, quantclean will create a blank column for it. No problem!

2) The dataframe generated will look like this if you have a date and time column (or if both are on the same column):

| Date| Open | High | Low | Close | Volume
| ----------- | ---------- | --------- | ---------- | --------- | ---------
| 20131001 09:00 | 6448000  | 6448000 | 6448000 | 6448000 | 90

 - Date - String date "YYYYMMDD HH:MM" in the timezone of the data format.
 - Open - Deci-cents Open Price for TradeBar.
 - High - Deci-cents High Price for TradeBar.
 - Low - Deci-cents Low Price for TradeBar.
 - Close - Deci-cents Close Price for TradeBar.
 - Volume - Number of shares traded in this TradeBar.
 

3) You can also get something like that if use the ```sweeper_dash``` function instead of ```sweeper```


| Date| Open | High | Low | Close | Volume
| ----------- | ---------- | --------- | ---------- | --------- | ---------
| **2013-10-01 09:00:00** | 6448000  | 6448000 | 6448000 | 6448000 | 90


As you can see, the date format is YYYY-MM-DD and no more YYYYMMDD.


4) If you just have a date column (e.g : something like YYYY-MM-DD), it will look like this:

| Date| Open | High | Low | Close | Volume
| ----------- | ---------- | --------- | ---------- | --------- | ---------
| 20131001 | 6448000  | 6448000 | 6448000 | 6448000 | 90


You can also use the ```sweeper_dash``` function here.

## How to use it? 🚀

First, download the quantclean.py file in the folder where you are working

<u>Note :</u> I took this data from Quandl, your dataset doesn't have to look like this one necessarily, quantclean adapts to your dataset as well as possible

```
from quantclean import sweeper

df = pd.read_csv('AS-N100.csv')
df
```
<img src="https://i.ibb.co/zVfYx5J/Capture.jpg"/>

```
_df = sweeper(df)
_df
```
Output: 

<img src="https://i.ibb.co/YdncjPz/Capture.jpg"/>

Now, you may not be happy of this date colum which is presented in the YYYYMMDD format and maybe be prefer YYYY-MM-DD.

In that case do :

```
df_dash = sweeper_dash(df)
df_dash
```

Output: 

<img src = "https://i.ibb.co/LNd5Kb9/Capture.jpg"/>

## Contribution

If you have some suggestions or improvements don't hesitate to create an issue or make a pull request. Any help is welcome!
NetworkSim 0.2.2
A WDM ring datacentre network simulator
License: MIT

.. -*- mode: rst -*-

|github|_ |readthedocs|_ |pypi|_ |binder|_

.. |github| image:: https://img.shields.io/github/workflow/status/HYang1996/NetworkSim/Build%20and%20Test?logo=github
.. _github: https://github.com/HYang1996/NetworkSim/actions?query=workflow%3A%22Build+and+Test%22

.. |readthedocs| image:: https://readthedocs.org/projects/networksim/badge/?version=latest
.. _readthedocs: https://networksim.readthedocs.io/en/latest/

.. |pypi| image:: https://img.shields.io/pypi/v/NetworkSim
.. _pypi: https://pypi.org/project/NetworkSim/

.. |binder| image:: https://mybinder.org/badge_logo.svg
.. _binder: https://mybinder.org/v2/gh/HYang1996/NetworkSim/master?filepath=examples

NetworkSim
==========

NetworkSim is a Python package used to simulation data transmission in a typical optical wavelength ring network using the Wavelength Division Multiplexing (WDM) technique:

.. image:: docs/source/images/Ring-Network-Diagram.png
    :width: 800
    :align: center


In this package, two protocols have been implemented for the simulation, namely the fixed transmitter - tunable receiver (FT-TR) protocol and the tunable transmitter - fixed receiver (TT-FR) protocol.

This package is developed as part of our final year group project and is still under development. It will be constantly updated as we troubleshoot bugs and implement additional features.

Installation
------------

The package is available via PyPI using:

.. code-block:: bash

    pip install NetworkSim

Quickstart
----------

.. code-block:: python

    from NetworkSim import BaseSimulator

    simulator = BaseSimulator()
    simulator.initialise()
    simulator.run()
    simulator.summary()

Documentation
-------------

Read the detailed package `API reference <https://networksim.readthedocs.io/en/latest/>`__.