Code Monkey home page Code Monkey logo

etm-project's Introduction

ETM Project

Python Pandas

Overview

lo scopo del progettto, è quello di investigare il consumo energetico di varie cryptovalute, mettendo a confronto diversi algoritmi di consenso. Per questo, dopo aver raccolto numerosi dati da svariati papers pubblicati, nella seconda parte del progetto è stato creato un sondaggio, le cui risposte sono state analizzate attraverso uno script in Python, mediante l'utilizzo di alcune famose librerie come:

  • Pandas
  • Matplotlib
  • Seaborn

Usage

Assicurati anzitutto di avere installato tutte le librerie necessarie, altrimenti puoi installarle con il seguente comando:

pip install -r  requirements.txt

Lo script ha come parametro necessario "criteria" che va specificato da riga di comando:

python .\ETMProject.py earnings 

E' possibile salvare tutti i grafici in una volta sola nella cartella plots (senza visualizzarli) con il parametro "save-all":

python .\ETMProject.py save-all

per visualizzare tutti i possibili parametri puoi usare il comando di help:

python .\ETMProject.py -h

Parametri Opzionali

E' possibile avere un output con più informazioni passando come flag "-v o "--verbose":

python .\ETMProject.py earnings -v

E' possibile stampare una tabella riepilogativa passando come flag "-t" o "--table":

python .\ETMProject.py earnings -t

E' possibile salvare i grafici nella cartella plot passando come flag "-s" o "--save":

python .\ETMProject.py earnings -s

etm-project's People

Contributors

lucarep avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.