# St.map() error

**URL:** <https://discuss.streamlit.io/t/st-map-error/19615>\
**Category:** Using Streamlit\
**Created:** [December 1, 2021, 11:57am UTC](https://discuss.streamlit.io/t/st-map-error/19615 "2021-12-01T11:57:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akinolaa](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@akinolaa](https://discuss.streamlit.io/u/akinolaa)\
**Post date:** [December 1, 2021, 11:57am UTC](https://discuss.streamlit.io/t/st-map-error/19615/1 "2021-12-01T11:57:16Z")

</div>

![Capture](https://global.discourse-cdn.com/streamlit/original/2X/f/f4a5d1a256c54c395e986e53cc2f2a01181bbe37.png)

I get this error whenever I try to use st.map() on a dataframe

---

<div class="post-metadata">

**Author:** ![Charly\_Wargnier](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/charly_wargnier/32/1504_2.png) [@Charly\_Wargnier](https://discuss.streamlit.io/u/Charly_Wargnier)\
**Post date:** [December 1, 2021, 12:45pm UTC](https://discuss.streamlit.io/t/st-map-error/19615/2 "2021-12-01T12:45:20Z")

</div>

Hi @akinolaa, and welcome to the Streamlit community! 🎈🙌

This error seems to indicate that Pandas cannot find what you’re looking for. Are you sure that `warnings` is in that dataframe? (check out possible spaces, as it would need to be an exact match to work 🙂

More info on how to handle this issue here: [KeyError Pandas - How To Fix - Data Independent](https://www.dataindependent.com/pandas/keyerror/)

Hope that helps

Best,  
Charly

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [December 1, 2022, 12:45pm UTC](https://discuss.streamlit.io/t/st-map-error/19615/3 "2022-12-01T12:45:54Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
