Relative Content

Tag Archive for google-sheetsstreamlit

ImportError: cannot import name ‘convert_anything_to_df’ from ‘streamlit.type_util’

import streamlit as st import pandas as pd from streamlit_gsheets import GSheetsConnection url = “https://docs.google.com/spreadsheets/d/1JDy9md2VZPz4JbYtRPJLs81_3jUK47nx6GYQjgU8qNY/edit?usp=sharing” conn = st.experimental_connection(“gsheets”, type=GSheetsConnection) data = conn.read(spreadsheet=url, usecols=[0, 1]) st.dataframe(data)` im getting the following error: from streamlit_gsheets.gsheets_connection import GSheetsConnection ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: cannot import name ‘convert_anything_to_df’ from ‘streamlit.type_util’ I have reinstalled the required versions of numpy, streamlit and pandas . I […]