MCPcopy Index your code
hub / github.com/plotly/plotly.py / _escape_col_name

Function _escape_col_name

plotly/express/_core.py:1186–1191  ·  view source on GitHub ↗
(columns, col_name, extra)

Source from the content-addressed store, hash-verified

1184
1185
1186def _escape_col_name(columns, col_name, extra):
1187 if columns is None:
1188 return col_name
1189 while col_name in columns or col_name in extra:
1190 col_name = "_" + col_name
1191 return col_name
1192
1193
1194def to_named_series(x, name=None, native_namespace=None):

Callers 2

build_dataframeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected