Spaces:
Sleeping
Sleeping
File size: 393 Bytes
5693fc3 b0f862d 5693fc3 b0f862d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import streamlit as st
import sqlite3
import pandas as pd
x = st.slider('Select a value')
st.write(x, 'squared is', x * x)
conn = sqlite3.connect("afa-bd.db")
sql = """SELECT alu_id, alu_nome, alu_uf, alu_cep, progresso_alfabetizacao, idade FROM tb_students
WHERE progresso_alfabetizacao >= 6 LIMIT 100"""
dfp_std = pd.read_sql(sql, conn)
st.dataframe(dfp_std)
#dfp_std.head(4)
|