> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# prj.register_data

export const GCell = ({children, className}) => <div className={`grid-table-cell ${className || ""}`} role="cell">
    {children}
  </div>;

export const GTH = ({children, className}) => <div className={`grid-table-th ${className || ""}`} role="columnheader">
    {children}
  </div>;

export const GRow = ({children}) => <div className="grid-table-row" role="row">{children}</div>;

export const GBody = ({children}) => <div className="grid-table-body" role="rowgroup">{children}</div>;

export const GHead = ({children}) => <div className="grid-table-head" role="rowgroup">{children}</div>;

export const GTable = ({children, className, cols}) => <div className={`grid-table not-prose overflow-hidden rounded-2xl ${className || ""}`} style={{
  "--grid-table-cols": cols
}} role="table">
    {children}
  </div>;

Register a flow artifact as a data asset instance.

```python theme={null}
prj.register_data(name, artifact, annotations=None, tags=None, description=None)
```

Register a Metaflow artifact as a data asset.

<GTable cols="18% 10% 72%">
  <GHead>
    <GRow>
      <GTH>Parameter</GTH>
      <GTH>Type</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`name`</GCell>
      <GCell>str</GCell>
      <GCell>Asset name (e.g., `"user_transactions"`)</GCell>
    </GRow>

    <GRow>
      <GCell>`artifact`</GCell>
      <GCell>str</GCell>
      <GCell>Artifact name (must exist as `self.<artifact>`)</GCell>
    </GRow>

    <GRow>
      <GCell>`annotations`</GCell>
      <GCell>dict</GCell>
      <GCell>Metadata key-value pairs (values converted to strings)</GCell>
    </GRow>

    <GRow>
      <GCell>`tags`</GCell>
      <GCell>dict</GCell>
      <GCell>Tags for categorization</GCell>
    </GRow>

    <GRow>
      <GCell>`description`</GCell>
      <GCell>str</GCell>
      <GCell>Human-readable description</GCell>
    </GRow>
  </GBody>
</GTable>

```python theme={null}
self.features = compute_features(data)
self.prj.register_data("fraud_features", "features",
    annotations={"n_samples": len(self.features)})
```
