MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / flatten

Function flatten

nlp_class2/pos_tf.py:101–102  ·  view source on GitHub ↗
(l)

Source from the content-addressed store, hash-verified

99
100
101def flatten(l):
102 return [item for sublist in l for item in sublist]
103
104
105

Callers 1

pos_tf.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected