File size: 433 Bytes
c0a3d33
 
 
 
 
 
 
 
 
 
 
 
5069be7
c0a3d33
5069be7
c0a3d33
5069be7
c0a3d33
5069be7
c0a3d33
5069be7
c0a3d33
5069be7
c0a3d33
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
title: AddLat2D
emoji: 😻
colorFrom: purple
colorTo: blue
sdk: streamlit
sdk_version: 1.17.0
app_file: app.py
pinned: false
---

Use the following code to load items in the 2D_Lattice.csv file

import pandas as pd

import json

df = pd.read_csv('2D_Lattice.csv')

row = 0

box = df.iloc[row,1]

array = np.array(json.loads(box))

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference