Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,10 @@ file = st.file_uploader('Upload a csv file here')
|
|
11 |
if file is not None:
|
12 |
query = st.text_input('Query')
|
13 |
data = pd.read_csv(file)
|
14 |
-
|
|
|
|
|
15 |
if query:
|
16 |
st.write(pipe(table=data, query=query))
|
17 |
-
|
18 |
|
|
|
11 |
if file is not None:
|
12 |
query = st.text_input('Query')
|
13 |
data = pd.read_csv(file)
|
14 |
+
|
15 |
+
st.subheader('Data')
|
16 |
+
st.table(data.head())
|
17 |
if query:
|
18 |
st.write(pipe(table=data, query=query))
|
19 |
+
|
20 |
|