LucaGroup commited on
Commit
d05360f
·
verified ·
1 Parent(s): 3bb9d0a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -3
README.md CHANGED
@@ -79,11 +79,14 @@ import tarfile
79
  import os
80
 
81
  # Example: Extracting and reading a file
82
- with tarfile.open("LucaVirus-OpenVirus-Gene-Prot.tar.tar.gz", "r:gz") as tar:
83
- tar.extractall(path="./data")
 
 
 
84
 
85
  # Read a specific CSV from the train set
86
- df = pd.read_csv("./data/train/3072_train_1.csv")
87
  print(df.head())
88
  ```
89
 
 
79
  import os
80
 
81
  # Example: Extracting and reading a file
82
+ with tarfile.open("LucaVirus-OpenVirus-Gene-Prot.tar.gz", "r:gz") as tar:
83
+ tar.extractall(path="./LucaVirus-OpenVirus-Gene-Prot/")
84
+
85
+ with tarfile.open("./LucaVirus-OpenVirus-Gene-Prot/dataset.tar.gz", "r:gz") as tar:
86
+ tar.extractall(path="./LucaVirus-OpenVirus-Gene-Prot/dataset/")
87
 
88
  # Read a specific CSV from the train set
89
+ df = pd.read_csv("../LucaVirus-OpenVirus-Gene-Prot/dataset/v1.0/train/3072_train_1.csv")
90
  print(df.head())
91
  ```
92