Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update topic1_habr_pandas.ipynb #781

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Update topic1_habr_pandas.ipynb #781

merged 1 commit into from
Nov 26, 2024

Conversation

sisoy1987
Copy link
Contributor

No description provided.

@sisoy1987 sisoy1987 closed this Nov 15, 2024
@sisoy1987 sisoy1987 reopened this Nov 15, 2024
Copy link
Contributor Author

@sisoy1987 sisoy1987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parameter 'precision' a is incorrect

@sisoy1987 sisoy1987 closed this Nov 15, 2024
@sisoy1987 sisoy1987 reopened this Nov 15, 2024
@sisoy1987
Copy link
Contributor Author

when entering a parameter 'pricision' the following error occurs: ---------------------------------------------------------------------------
OptionError Traceback (most recent call last)
Cell In[64], line 1
----> 1 pd.set_option('precision', 2)

File /usr/local/lib/python3.10/dist-packages/pandas/_config/config.py:274, in CallableDynamicDoc.call(self, *args, **kwds)
273 def call(self, *args, **kwds) -> T:
--> 274 return self.func(*args, **kwds)

File /usr/local/lib/python3.10/dist-packages/pandas/_config/config.py:167, in _set_option(*args, **kwargs)
164 raise TypeError(f'_set_option() got an unexpected keyword argument "{kwarg}"')
166 for k, v in zip(args[::2], args[1::2]):
--> 167 key = _get_single_key(k, silent)
169 o = _get_registered_option(key)
170 if o and o.validator:

File /usr/local/lib/python3.10/dist-packages/pandas/_config/config.py:134, in _get_single_key(pat, silent)
132 raise OptionError(f"No such keys(s): {repr(pat)}")
133 if len(keys) > 1:
--> 134 raise OptionError("Pattern matched multiple keys")
135 key = keys[0]
137 if not silent:

OptionError: Pattern matched multiple keys

Copy link
Owner

@Yorko Yorko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Yorko Yorko merged commit 3cf061f into Yorko:main Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants