From 6181f0f852ddf3b1568f2d713d96f5a725063911 Mon Sep 17 00:00:00 2001 From: Hugo Cachitas Date: Wed, 3 Apr 2024 02:13:05 +0100 Subject: [PATCH] Update simple.ipynb --- examples/simple.ipynb | 61 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 49 insertions(+), 12 deletions(-) diff --git a/examples/simple.ipynb b/examples/simple.ipynb index 4c816e9..11ac57c 100644 --- a/examples/simple.ipynb +++ b/examples/simple.ipynb @@ -2,17 +2,38 @@ "cells": [ { "cell_type": "code", - "execution_count": 8, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ - "import stringx\n", - "import pandas as pd" + "import pandas as pd\n", + "import stringx" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "[{'string_version': '12.0',\n", + " 'stable_address': 'https://version-12-0.string-db.org'}]" + ] + }, + "execution_count": 2, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "stringx.version()" ] }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -21,7 +42,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -42,9 +63,17 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 5, "metadata": {}, "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "params BEFORE request caller_identity=stringx%200.3.0\n", + "params AFTER request caller_identity=stringx%200.3.0\n" + ] + }, { "data": { "text/html": [ @@ -103,7 +132,7 @@ "3 Vago 7227.FBpp0312036" ] }, - "execution_count": 11, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -118,7 +147,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 6, "metadata": {}, "outputs": [], "source": [ @@ -134,7 +163,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 7, "metadata": {}, "outputs": [ { @@ -146,7 +175,7 @@ " '7227.FBpp0312036']" ] }, - "execution_count": 13, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -157,9 +186,17 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 8, "metadata": {}, "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "params BEFORE request caller_identity=stringx%200.3.0\n", + "params AFTER request caller_identity=stringx%200.3.0\n" + ] + }, { "data": { "text/html": [ @@ -261,7 +298,7 @@ "2 7227 0.810 0 0 0 0.453 0 0 0.668 " ] }, - "execution_count": 14, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" }