MCPcopy
hub / github.com/pathwaycom/pathway / T

Function T

python/pathway/tests/utils.py:620–624  ·  view source on GitHub ↗
(*args, format="markdown", _stacklevel=1, **kwargs)

Source from the content-addressed store, hash-verified

618
619
620def T(*args, format="markdown", _stacklevel=1, **kwargs):
621 if format == "pandas":
622 return table_from_pandas(*args, **kwargs, _stacklevel=_stacklevel + 1)
623 assert format == "markdown"
624 return table_from_markdown(*args, **kwargs, _stacklevel=_stacklevel + 1)
625
626
627def remove_ansi_escape_codes(msg: str) -> str:

Callers 15

test_bucketer_euclideanFunction · 0.90
test_bucketer_cosineFunction · 0.90
test_lshFunction · 0.90
test_lsh_bucketingFunction · 0.90
test_clustering_via_lshFunction · 0.90
test_basic_exampleFunction · 0.90
test_already_sortedFunction · 0.90
test_different_topicsFunction · 0.90
test_left_join_01Function · 0.90
test_left_join_015Function · 0.90

Calls 2

table_from_pandasFunction · 0.90
table_from_markdownFunction · 0.90

Tested by 15

test_bucketer_euclideanFunction · 0.72
test_bucketer_cosineFunction · 0.72
test_lshFunction · 0.72
test_lsh_bucketingFunction · 0.72
test_clustering_via_lshFunction · 0.72
test_basic_exampleFunction · 0.72
test_already_sortedFunction · 0.72
test_different_topicsFunction · 0.72
test_left_join_01Function · 0.72
test_left_join_015Function · 0.72