marta-marta commited on
Commit
5438fca
1 Parent(s): 716dc6a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -0
README.md CHANGED
@@ -9,4 +9,12 @@ app_file: app.py
9
  pinned: false
10
  ---
11
 
 
 
 
 
 
 
 
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
9
  pinned: false
10
  ---
11
 
12
+ Use the following code to load items in the 2D_Lattice.csv file
13
+ import pandas as pd
14
+ import json
15
+ df = pd.read_csv('2D_Lattice.csv')
16
+ row = 0
17
+ box = df.iloc[row,1]
18
+ array = np.array(json.loads(box))
19
+
20
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference