Article Complete
AIM
What’s new in Streamlit version 1.8.0?
What’s new in Streamlit version 1.8.0?

What’s new in Streamlit version 1.8.0?

Streamlit is an open-source Python library that makes it easy to create custom web apps for machine learning and data science.

Published Updated

Key takeaways

  • Streamlit version 1.8.0 introduces significant performance improvements for processing dataframes.
  • Timezone handling has been enhanced, ensuring DateTime instances display accurately in UTC.
  • Design updates have been made to the app header, including styled buttons and a new background.
  • Streamlit's acquisition by Snowflake aims to further innovations in data science and application development.
5 min

Streamlit has announced its latest version 1.8.0. Streamlit is an open-source Python library that makes it easy to create custom web apps for machine learning and data science.

The key changes in the new release include:

  1. Performance improvements on dataframes - In this update, the time taken to parse dataframes is massively reduced. Now, a 150MB dataframe goes from taking 3s to process on the frontend down to 125ms, which is primarily the time spent by arrow turning the byte array into a table.
  1. ‘st.slider’ handles timezones better by removing timezone conversions on the backend - This update removes any timezone conversation on the backend and uses the UTC timezone in the frontend (with moments) instead of the browser timezone. Thereby, the DateTime instances are always shown with their exact date and time.
  1. Design improvements to our header - This update introduces a handful of design adjustments on the app header like Styled the top buttons, different hover state for buttons, a semi-opaque background for the top header and the consequent removal of the background behind the running man animation.

Recently, Streamlit agreed to be acquired by Snowflake to join forces and open new frontiers in data science and data application development.