pandas._config.config.OptionError: error with streamlit 1.11.0 and pandas 1.3.4

pandas._config.config.OptionError: getting this error when i deploy the app in streamlit cloud. The same deployment work in my local machine(ubuntu 22.04 LTS) and aws ec2 instance(Linux).

    a=sns.histplot(df[i],bins=100,kde=True)File "/home/appuser/venv/lib/python3.9/site-packages/seaborn/distributions.py", line 1438, in histplot
    p.plot_univariate_histogram(File "/home/appuser/venv/lib/python3.9/site-packages/seaborn/distributions.py", line 431, in plot_univariate_histogram
    all_data = self.comp_data.dropna()File "/home/appuser/venv/lib/python3.9/site-packages/seaborn/_oldcore.py", line 1119, in comp_data
    with pd.option_context('mode.use_inf_as_null', True):File "/home/appuser/venv/lib/python3.9/site-packages/pandas/_config/config.py", line 441, in __enter__
    self.undo = [(pat, _get_option(pat, silent=True)) for pat, val in self.ops]File "/home/appuser/venv/lib/python3.9/site-packages/pandas/_config/config.py", line 441, in <listcomp>
    self.undo = [(pat, _get_option(pat, silent=True)) for pat, val in self.ops]File "/home/appuser/venv/lib/python3.9/site-packages/pandas/_config/config.py", line 135, in _get_option
    key = _get_single_key(pat, silent)File "/home/appuser/venv/lib/python3.9/site-packages/pandas/_config/config.py", line 121, in _get_single_key
    raise OptionError(f"No such keys(s): {repr(pat)}")

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