MCPcopy Create free account
hub / github.com/datasweet/datatable / copy

Method copy

column.go:207–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205}
206
207func (c *column) copy() *column {
208 cpy := &column{
209 name: c.name,
210 typ: c.typ,
211 hidden: c.hidden,
212 formulae: c.formulae,
213 serie: c.serie.Copy(),
214 }
215 if len(cpy.formulae) > 0 {
216 if parsed, err := expr.Parse(cpy.formulae); err == nil {
217 cpy.expr = parsed
218 }
219 }
220 return cpy
221}

Callers 1

CopyMethod · 0.80

Calls 1

CopyMethod · 0.65

Tested by

no test coverage detected