Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with pandas -- core.config.OptionError

See original GitHub issue

Here crosspost from pandas repo, since I firstly post issue there, for whatever reason heh

Hi! It just poping up after a few seconds in interactive REPL

Code Sample

from arepldump import dump
# AREPL 1.0.6
# Name            : visual-studio-code-bin
# Version         : 1.30.2-1

import pandas as pd
df = pd.DataFrame()

What I expected

Empty DataFrame Columns: [] Index: []

But what I got

Traceback (most recent call last):
  line 4, in <module>
  File "/usr/lib/python3.7/site-packages/pandas/core/", line 348, in __init__
    mgr = self._init_dict(data, index, columns, dtype=dtype)
  File "/usr/lib/python3.7/site-packages/pandas/core/", line 456, in _init_dict
    columns = data_names = Index(keys)
  File "/usr/lib/python3.7/site-packages/pandas/core/indexes/", line 264, in __new__
    from .range import RangeIndex
  File "/usr/lib/python3.7/site-packages/pandas/core/indexes/", line 20, in <module>
    from pandas.core.indexes.base import Index, _index_shared_docs
  File "/usr/lib/python3.7/site-packages/pandas/core/indexes/", line 17, in <module>
    from pandas.core.arrays import ExtensionArray
  File "/usr/lib/python3.7/site-packages/pandas/core/arrays/", line 2, in <module>
    from .categorical import Categorical  # noqa
  File "/usr/lib/python3.7/site-packages/pandas/core/arrays/", line 35, in <module>
    from pandas.core.base import (PandasObject,
  File "/usr/lib/python3.7/site-packages/pandas/core/", line 23, in <module>
    import pandas.core.nanops as nanops
  File "/usr/lib/python3.7/site-packages/pandas/core/", line 55, in <module>
  File "/usr/lib/python3.7/site-packages/pandas/core/", line 227, in __call__
    return self.__func__(*args, **kwds)
  File "/usr/lib/python3.7/site-packages/pandas/core/", line 97, in _get_option
    key = _get_single_key(pat, silent)
  File "/usr/lib/python3.7/site-packages/pandas/core/", line 83, in _get_single_key
    raise OptionError('No such keys(s): {pat!r}'.format(pat=pat))
pandas.core.config.OptionError: "No such keys(s): 'compute.use_bottleneck'"

Print Output:
0 ms

Output of pd.show_versions()

commit: None
python-bits: 64
OS: Linux
OS-release: 4.20.1-arch1-1-ARCH
machine: x86_64
byteorder: little
LC_ALL: None

pandas: 0.23.4
pytest: None
pip: 18.1
setuptools: 40.6.3
Cython: 0.29.2
numpy: 1.15.4
scipy: None
pyarrow: None
xarray: None
IPython: 7.1.1
sphinx: 1.8.3
patsy: None
dateutil: 2.7.5
pytz: 2018.9
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.7.0
html5lib: 1.0.1
sqlalchemy: 1.2.15
pymysql: None
psycopg2: (dt dec pq3 ext lo64)
jinja2: 2.10
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

Almenoncommented, Feb 6, 2019

I just released a new version of arepl. @chiboreache can you try your code out and see if it works please? If you have any any bug reports or suggestions on how I can improve pandas support feel free to create a issue.

chiboreachecommented, Feb 10, 2019

@Almenon — Nice work mate! Thanks =)

Unfortunately, I have some small error popuping in my output, heh I’ll create a new ticket 😉

Oh, and yeah, my pandas code work just right ¡)

Read more comments on GitHub >

github_iconTop Results From Across the Web

pandas.core.config.OptionError: "No such keys(s)
The python 2.7 which I have used currently has the pandas:0.16.2, ... such keys(s): 'display.unicode.at_asian_width', and cause the error.
Read more >
Options and settings — pandas 1.5.2 documentation
pandas has an options API configure and customize global behavior related to DataFrame display, data behavior and more. Options have a full “dotted-style”,...
Read more >
Display output on pandas not working? - Google Groups
File "C:\Users\Jeff\Anaconda3\lib\site-packages\pandas\core\", line 83, in _get_single_key raise OptionError('No such keys(s): ...
Read more >
pandas._config.config.OptionError: 'Pattern matched multiple ...
pandas._config.config.OptionError: 'Pattern matched multiple keys'问题描述:我之前明明能正常运行的代码但是今天忽然运行不了, 显示错误pandas.
Read more >
Options and Settings in Pandas- Scaler Topics
The options and settings in Pandas are used to manipulate the data ... then we get Error OptionError: 'Pattern matched multiple keys'.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found