Coder Social home page Coder Social logo

null-finder's Introduction

Null Finder

Program that takes in a CSV file and outputs a list of potential null-equivalent words in the file.

Intended to be used for uncleaned or semi-cleaned data sets where the different words that may indicate a null value are unknown. Inevitably there is some noise in the results, nonetheless they are rather helpful as a guide to help you clean your data!

Compilation

Simply make in root directory. You will need to clone libcsv and install or compile library's source code (see Dependency).

Usage

./find_null null_file csv_file rows_num

where null_file should be resources/nulls, csv_file is the uncleaned dataset, and rows_num is number of rows of data in the dataset.

Examples

Running on steam_support_info.csv:

COLUMN 1:

COLUMN 2:
<empty>,
COLUMN 3:
N/A, NULL, <empty>,
COLUMN 4:
NA., n/a, <empty>,

No changes were made to this data set; all credits to original author. See link for author & license info.

Running on USVideos.csv:

COLUMN 1:

COLUMN 2:

COLUMN 3:

COLUMN 4:

COLUMN 5:

COLUMN 6:

COLUMN 7:
[none],
COLUMN 8:

COLUMN 9:

COLUMN 10:

COLUMN 11:

COLUMN 12:

COLUMN 13:

COLUMN 14:
True,
COLUMN 15:
True,
COLUMN 16:
<empty>, 

Output

As above, output shows column number (starting at 1) and a list of possible null-equivalent words in that column if any, separated by commas. <empty> indicates a blank field.

Dependency

See libcsv submodule for the libcsv library (license info & source code). This library is NOT MINE in any way; I simply used it in the project.

null-finder's People

Contributors

jsngn 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.