Skip to content

Commit

Permalink
πŸ’„ More polish
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Nov 21, 2024
1 parent 94f2116 commit 9512974
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"import lamindb as ln\n",
"\t\n",
"ln.track() # track a run for a notebook or script \n",
"artifact = ln.Artifact.get(\"3TNCsZZcnIBv2WGb0001\") # get an artifact record\n",
"artifact = ln.Artifact.get(\"3TNCsZZcnIBv2WGb0001\") # get an artifact record by uid\n",
"artifact.describe() # show metadata of artifact\n",
"df = artifact.load() # load the artifact into memory, e.g., a DataFrame\n",
"\n",
Expand All @@ -77,12 +77,13 @@
":::{tab-item} R\n",
"\n",
"```R\n",
"install.packages(\"laminr\", dependencies = TRUE) # install the R package\n",
"# laminr needs pip install 'lamindb[aws]'\n",
"install.packages(\"laminr\", dependencies = TRUE) # install the laminr package\n",
"library(laminr)\n",
"\n",
"db <- connect() # create an instance object\n",
"db <- connect() # create an object for your default instance\n",
"db$track(path = \"./my-analysis.Rmd\") # track a run of your notebook or script\n",
"artifact <- db$Artifact$get(\"KBW89Mf7IGcekja2hADu\") # get an artifact record\n",
"artifact <- db$Artifact$get(\"3TNCsZZcnIBv2WGb0001\") # get an artifact record by uid\n",
"df <- artifact$load() # load the artifact into memory, e.g., a DataFrame\n",
"\n",
"# do your work\n",
Expand Down

0 comments on commit 9512974

Please sign in to comment.