Commit
·
5069be7
1
Parent(s):
c0a3d33
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,11 +10,17 @@ 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
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Use the following code to load items in the 2D_Lattice.csv file
|
| 13 |
+
|
| 14 |
import pandas as pd
|
| 15 |
+
|
| 16 |
import json
|
| 17 |
+
|
| 18 |
df = pd.read_csv('2D_Lattice.csv')
|
| 19 |
+
|
| 20 |
row = 0
|
| 21 |
+
|
| 22 |
box = df.iloc[row,1]
|
| 23 |
+
|
| 24 |
array = np.array(json.loads(box))
|
| 25 |
|
| 26 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|