Coder Social home page Coder Social logo

consolidatedatarecorder's Introduction

CSV Consolidation and Analysis Tool

Overview

This tool consolidates multiple CSV files into a single file and generates a line graph using the timestamp as the x-axis. It includes statistical analysis such as averages, medians, standard deviations, minimums, and maximums for each numeric column.

Requirements

  • Python 3.x
  • Libraries: pandas, matplotlib
  • tkinter for the GUI directory selection

Installation

To install required libraries, run:

pip install -r requirements.txt

This command will install all necessary libraries as listed in the requirements.txt file.

Usage

  1. Running the Script: Execute the script in a Python environment. A GUI window will open for directory selection.

  2. Selecting Directory: Use the GUI to select the directory containing your CSV files.

  3. Output:

    • The script will create a consolidated CSV file named corrected_consolidated.csv in the same directory, with data entries separated by commas.
    • A line graph with statistical data for each numeric column will be displayed.

Features

  • CSV Consolidation: Combines multiple CSV files (semicolon-separated) into a single comma-separated CSV file.
  • Graph Generation: Generates a line graph with the timestamp on the x-axis.
  • Statistical Analysis: Calculates and displays mean, median, standard deviation, minimum, and maximum for each numeric column in the graph.

image

Notes

  • Ensure all CSV files have the same structure and headers.
  • The script expects the 'Timestamp' column to be in a specific format. Adjust the date_format in the script if necessary.

Troubleshooting

  • Timestamp Format: If the graph does not display correctly, ensure the timestamp format in the script matches the format in your CSV files.
  • Encoding Errors: If you encounter encoding errors, check if your CSV files have a consistent encoding format.

License

This tool is open-source and free to use.

consolidatedatarecorder's People

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.