Git Product home page Git Product logo

matchmaker's Introduction

matchmaker

Matchmaker is a document that allows you to create matches of documents by their first column.

Version

Python 3.X is required to execute e.g.: python3 main.py

Concept

Take a base or main file, then it takes a second file which will try to match all their ids into the base, same concept as a LEFT JOIN in SQL. Take a full table on right and join anything you can find from left table.

Limitations

  • You can only do this with two files.
  • Files must be .CSV extension file only.
  • Place files on same folder.
  • Each .CSV only works with unique key_id on the first column just like a primary-key on DB's table.
  • If you don't have unique keys on each file it will not work. The idea is to take a unique id on file A and it can be found on file B (matching)
  • You can fabricate a unique value if you don't have officially one by joining columns with numbers on each spreadsheet and place them as first column. Per example: a school_id + a current grade + a next grade will create a unique primary key to work, just remember, if there are duplicates in your file you will have incorrect matching, so file must be duplicate free on both files.
  • I haven't check if a file with headers my not work, so use headers always.
  • The intended use is for non duplicate keys only, can be use on massive amounts of date but duplicate free.

Execution

python3 main.py

matchmaker's People

Contributors

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