Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
techofer committed Nov 14, 2024
1 parent 942f9ca commit 66ea2a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nbs/030_session.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@
"\n",
"# use of ie functions with variable output arity\n",
"sess = test_session(\n",
" [\"\"\"\n",
" [r\"\"\"\n",
" input_string = \"John Doe: 35 years old, Jane Smith: 28 years old\"\n",
" AgeOf(Name,Age) <- \n",
" rgx(\"(\\w+\\s\\w+):\\s(\\d+)\",$input_string) -> (NameSpan,AgeSpan),\n",
Expand Down Expand Up @@ -1202,7 +1202,7 @@
"total_age(X,sum(Y)) <- AgeOfKids(X,Y).\n",
"?total_age(X,T)\n",
"\"\"\",\n",
"pd.DataFrame({'X':['John Doe','Jane Smith'],'T':[65,28]}),\n",
"pd.DataFrame({'X':['John Doe','Jane Smith'],'T':[65.,28.]}),\n",
")"
]
},
Expand Down

0 comments on commit 66ea2a9

Please sign in to comment.