se_hw2345

Repository for taking a working system (written in LUA) and writing it in Python.

https://github.com/akshat22/se_hw2345

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (19.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Repository for taking a working system (written in LUA) and writing it in Python.

Basic Info
  • Host: GitHub
  • Owner: akshat22
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 105 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created almost 4 years ago · Last pushed over 3 years ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

Summary Creation Tool

DOI GitHub Release License GitHub contributors Open Issues Pull Requests GitHub Repo Size codecov <!-- Intro page -->

Python code for creating summaries of input CSV file by translating a lua code to python.

Table of Contents

  1. LUA
  2. Goal
  3. Getting started
  4. File and function mapping
  5. License
  6. Contributors

LUA

Lua is a lightweight, high-level, multi-paradigm programming language designed primarily for embedded use in applications. The features of the lua programming language include:

  • simple
  • efficient
  • portable
  • Suitable for use as an embedded language within a host application

Goal

The goal is to write some code to read a CSV file and generate summaries of columns (medians and standard deviation for numerics; mode and entropy for symbolic columns).

Getting Started

Pre-requisites

Ensure python is installed. You can check the version of python in the system using:

bash python --version

Check if pip is installed. This can be done with the command:

bash pip --version

The csv file can be accessed in the Data folder

Installation

Clone this repository using

bash git clone https://github.com/akshat22/SE_HW2345.git

You can download all the dependencies required to run the file using:

bash pip install -r requirements.txt

File and function mapping

The implementations for only Sym and Num classes are done so far in this repo. The implementation of different util functions are also done like - coerce, per, probability

The scripts for test cases sym, num are also prepared here.

The Lua classes and corresponding python implementation scripts are listed below:

| Class | Corresponding python script | |-------|------------------------------| | Num | Num | | Sym | Sym |

License

This project is licensed under MIT license.

Contributors

Owner

  • Name: Akshat Savla
  • Login: akshat22
  • Kind: user
  • Location: Raleigh, NC
  • Company: North Carolina State University

NCSU '24 | VJTI '22

Citation (Citation.md)


      

GitHub Events

Total
Last Year

Dependencies

requirements.txt pypi
  • pytest *
  • requests *