@ -54,7 +54,7 @@
< body >
< body >
< header >
< header >
< aside > February 19 , 2024< / aside >
< aside > February 20 , 2024< / aside >
< a href = "https://gto76.github.io" rel = "author" > Jure Šorn< / a >
< a href = "https://gto76.github.io" rel = "author" > Jure Šorn< / a >
< / header >
< / header >
@ -1909,7 +1909,7 @@ delattr(<object>, <span class="hljs-string">'<attr_name>'</span>)
< pre > < code class = "python language-python hljs" > < coro> = < async_func> (< args> ) < span class = "hljs-comment" > # Creates a coroutine.< / span >
< pre > < code class = "python language-python hljs" > < coro> = < async_func> (< args> ) < span class = "hljs-comment" > # Creates a coroutine.< / span >
< obj> = < span class = "hljs-keyword" > await< / span > < coroutine> < span class = "hljs-comment" > # Starts the coroutine and returns result.< / span >
< obj> = < span class = "hljs-keyword" > await< / span > < coroutine> < span class = "hljs-comment" > # Starts the coroutine and returns result.< / span >
< task> = aio.create_task(< coroutine> ) < span class = "hljs-comment" > # Schedules coroutine for execution.< / span >
< task> = aio.create_task(< coroutine> ) < span class = "hljs-comment" > # Schedules coroutine for execution.< / span >
< obj> = < span class = "hljs-keyword" > await< / span > < task> < span class = "hljs-comment" > # Returns result.< / span >
< obj> = < span class = "hljs-keyword" > await< / span > < task> < span class = "hljs-comment" > # Returns result. Also < task> .cancel(). < / span >
< / code > < / pre >
< / code > < / pre >
< pre > < code class = "python language-python hljs" > < coro> = aio.gather(< coro/task> , ...) < span class = "hljs-comment" > # Schedules coroutines. Returns results when awaited.< / span >
< pre > < code class = "python language-python hljs" > < coro> = aio.gather(< coro/task> , ...) < span class = "hljs-comment" > # Schedules coroutines. Returns results when awaited.< / span >
< coro> = aio.wait(< tasks> , …) < span class = "hljs-comment" > # `aio.ALL/FIRST_COMPLETED`. Returns (done, pending).< / span >
< coro> = aio.wait(< tasks> , …) < span class = "hljs-comment" > # `aio.ALL/FIRST_COMPLETED`. Returns (done, pending).< / span >
@ -2741,7 +2741,7 @@ plt.show() <span class="hljs-comment"># Disp
< / code > < / pre > < / div >
< / code > < / pre > < / div >
< pre > < code class = "python language-python hljs" > < DF> = pd.read_json/html(< span class = "hljs-string" > '< str/path/url> '< / span > ) < span class = "hljs-comment" > # Run `$ pip3 install beautifulsoup4 lxml`.< / span >
< pre > < code class = "python language-python hljs" > < DF> = pd.read_json/html(< span class = "hljs-string" > '< str/path/url> '< / span > ) < span class = "hljs-comment" > # Run `$ pip3 install beautifulsoup4 lxml`.< / span >
< DF> = pd.read_csv(< span class = "hljs-string" > '< path/url> '< / span > ) < span class = "hljs-comment" > # Also `names=< list> , parse_dates=False `.< / span >
< DF> = pd.read_csv(< span class = "hljs-string" > '< path/url> '< / span > ) < span class = "hljs-comment" > # `header/index_col/dtype/parse_dates=< obj> `.< / span >
< DF> = pd.read_pickle/excel(< span class = "hljs-string" > '< path/url> '< / span > ) < span class = "hljs-comment" > # Use `sheet_name=None` to get all Excel sheets.< / span >
< DF> = pd.read_pickle/excel(< span class = "hljs-string" > '< path/url> '< / span > ) < span class = "hljs-comment" > # Use `sheet_name=None` to get all Excel sheets.< / span >
< DF> = pd.read_sql(< span class = "hljs-string" > '< table/query> '< / span > , < conn.> ) < span class = "hljs-comment" > # SQLite3/SQLAlchemy connection (see #SQLite).< / span >
< DF> = pd.read_sql(< span class = "hljs-string" > '< table/query> '< / span > , < conn.> ) < span class = "hljs-comment" > # SQLite3/SQLAlchemy connection (see #SQLite).< / span >
< / code > < / pre >
< / code > < / pre >
@ -2933,7 +2933,7 @@ $ deactivate <span class="hljs-comment"># Deactivates the activ
< footer >
< footer >
< aside > February 19 , 2024< / aside >
< aside > February 20 , 2024< / aside >
< a href = "https://gto76.github.io" rel = "author" > Jure Šorn< / a >
< a href = "https://gto76.github.io" rel = "author" > Jure Šorn< / a >
< / footer >
< / footer >