From 9077f7d983b76558735ac7bc97540975190744df Mon Sep 17 00:00:00 2001 From: Hsuan-Kai Liao <2384288968@qq.com> Date: Fri, 2 Feb 2024 23:13:03 +0800 Subject: [PATCH] 2/2 Change Environments - Change environments - Update README --- README.md | 10 +++------- environment.yml | 3 +-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 90969ad..eb9eef0 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,7 @@ JSON generator from Excel files with template. ### Dependencies -- pandas -- tkinter +- openpyxl ## Usage using template to build up the links between Excel and JSON entries @@ -15,8 +14,5 @@ formats of the entries in Excel dataset 1. string: ```"example"``` 2. int & float: ```15```, ```1.0``` 3. range: ```[-1,100]``` -4. list: ```l[121,abc,def]```, ```l["anc,"hele",""test"]``` - - string elements only - - begin with ```l[``` as the notation -5. dict: - - no dictionary as entries, instead using column names to locate the position directly. \ No newline at end of file +4. list: ```[here, is, example]```, ```["here", "is", "example"]``` +5. dict: - **NO** dictionary as entries, instead using column names to locate the position directly. \ No newline at end of file diff --git a/environment.yml b/environment.yml index a6db831..2004870 100644 --- a/environment.yml +++ b/environment.yml @@ -2,5 +2,4 @@ name: jsonGen channels: - defaults dependencies: - - numpy==1.24.3 - - pandas==2.0.3 + - openpyxl==3.0.10