Skip to content

Instantly share code, notes, and snippets.

@treuille
Created September 25, 2019 00:03
Show Gist options
  • Select an option

  • Save treuille/a2b9b7fdca3a353ac4a3b6392dd01fa6 to your computer and use it in GitHub Desktop.

Select an option

Save treuille/a2b9b7fdca3a353ac4a3b6392dd01fa6 to your computer and use it in GitHub Desktop.
Trying to reproduce Pavel's bug...
import streamlit as st
import pandas as pd
with st.echo():
@st.cache(ignore_hash=True)
def load_cached():
csv = pd.read_csv("http://s3-us-west-2.amazonaws.com/streamlit-demo-data/uber-raw-data-sep14.csv.gz", nrows=100000)
return csv
df = load_cached()
st.dataframe(data=df)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment