Skip to content

Implement Copy method for ux.Grid  #232

Description

@philipc2

Create a method to either return a shallow or deep copy of a Grid object.

Example

uxgrid = ux.open_grid(grid_path)

# shallow copy: reference to original object 
uxgrid_shallow = uxgrid.copy(deep=False)

# deep copy: new object is initialized with same data 
uxgrid_deep = uxgrid.copy(deep=True)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

new featureNew user-facing functionality

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions