Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pandas-dev/pandas
/ getndots
Method
getndots
pandas/tests/io/formats/test_format.py:1841–1842 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
1839
1840
def
test_truncate_ndots(self):
1841
def
getndots(s):
1842
return
len(re.match(r
"[^\.]*(\.*)"
, s).groups()[0])
1843
1844
s = Series([0, 2, 3, 6])
1845
with
option_context(
"display.max_rows"
, 2):
Callers
nothing calls this directly
Calls
2
match
Method · 0.80
groups
Method · 0.45
Tested by
no test coverage detected