GithubHelp home page GithubHelp logo

linkonbsmrstu / data-prep-minitoolkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rctatman/data-prep-minitoolkit

0.0 1.0 0.0 3 KB

Three little Python scripts for data preparation: remove commas, add commas, concatenate files

Python 100.00%

data-prep-minitoolkit's Introduction

This repo has three little Python scripts to help with common data preparation taks: removing commas, adding commas, and concatenating multiple files into one file.

Commatizer

This script replaces characters you specify with commas.

Decommatizer

This script removes commas in files you specify. (This is helpful if you want to turn a tab-separated .csv into a comma-seperated .csv but want to get rid of commas in text fields first.)

FileCat

This script pastes together files you specify.

To use

  • If you don't already have it installed, download & install Python 3 (link: https://www.python.org/downloads/).
  • Download these scripts and place in the folder with the files you want to modify.
  • Open the command line and navigate to the same folder.
  • Type "python commatizer.py" (replace commatizer.py with the name of the file you want to run) and hit enter
  • Follow the prompts
  • That's it! Your new files will be saved to your current directory.

IMPORTANT: these scripts are in Python 3. If you try to run them with Python 2 they won't work. To check what version of Python you're using, launch Python by typing "python" in the command line. The version number will be at the very top. To close Python, type "quit()" and hit enter.

data-prep-minitoolkit's People

Contributors

rctatman avatar

Watchers

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