GithubHelp home page GithubHelp logo

python-csv-files-combiner's Introduction

python-csv-files-combiner

script that combines multiple csv files into one

Overview

The script uses the pandas library converting each csv file into a data frame and then concatenation each frame.The readme instructions assumes the script being run in a windows enviroment.

Dependencies

  1. Python3
  2. Pandas

Installation

  1. To install python3 on windows : https://www.python.org/downloads/windows/ and choose the latest release for python3. Once you install python, check that pip is also installed. You can type pip --version into the command line which will show you the version. If you get any other output, it means pip is not installed.

  2. Install pandas

  pip install pandas 

Running the file

  1. Place the file combiner.py in the same directory as you csv files you want to combine
  2. Navigate to that directory via the command line. Note( You cannot use UNC paths in the command line) to overcome this use the command pushd, see below
  3. Type the command: python combiner.py . You can also supply a filename to the script. For example: python combiner.py . 'yourfilename'.csv. Note โ€˜.โ€™ Represents the current directory.
  4. Once done, type the command popd, this will get you back to your current directory.

python-csv-files-combiner's People

Contributors

squadran2003 avatar

Watchers

James Cloos avatar  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.