You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "<p>Display a code block with optional syntax highlighting.</p>\n",
154938
154938
"args": [
@@ -154956,9 +154956,17 @@
154956
154956
"name": "line_numbers",
154957
154957
"type_name": "bool",
154958
154958
"is_optional": false,
154959
-
"is_kwarg_only": false,
154959
+
"is_kwarg_only": true,
154960
154960
"description": "<p>An optional boolean indicating whether to show line numbers to the\nleft of the code block. Defaults to <tt class=\"docutils literal\">False</tt>.</p>\n",
"signature": "st.help(obj=<module 'streamlit' from '/Users/dmatthews/Documents/GitHub/streamlit/lib/streamlit/__init__.py'>)",
156211
+
"signature": "st.help(obj=<module 'streamlit' from '/Users/dmatthews/anaconda3/envs/latest/lib/python3.11/site-packages/streamlit/__init__.py'>)",
156204
156212
"example": "<blockquote>\n<p>Don't remember how to initialize a dataframe? Try this:</p>\n<pre class=\"doctest-block\">\nimport streamlit as st\nimport pandas\n\nst.help(pandas.DataFrame)\n</pre>\n<Cloud name=\"doc-string\" path=\"\" query=\"\" stylePlaceholder=\"height: 700px\" /><p>Want to quickly check what data type is output by a certain function?\nTry:</p>\n<pre class=\"doctest-block\">\nimport streamlit as st\n\nx = my_poorly_documented_function()\nst.help(x)\n</pre>\n<p>Want to quickly inspect an object? No sweat:</p>\n<pre class=\"doctest-block\">\nclass Dog:\n '''A typical dog.'''\n\n def __init__(self, breed, color):\n self.breed = breed\n self.color = color\n\n def bark(self):\n return 'Woof!'\n\n\nfido = Dog("poodle", "white")\n\nst.help(fido)\n</pre>\n<Cloud name=\"doc-string1\" path=\"\" query=\"\" stylePlaceholder=\"height: 300px\" /><p>And if you're using Magic, you can get help for functions, classes,\nand modules without even typing <tt class=\"docutils literal\">st.help</tt>:</p>\n<pre class=\"doctest-block\">\nimport streamlit as st\nimport pandas\n\n# Get help for Pandas read_csv:\npandas.read_csv\n\n# Get help for Streamlit itself:\nst\n</pre>\n<Cloud name=\"doc-string2\" path=\"\" query=\"\" stylePlaceholder=\"height: 700px\" /></blockquote>\n",
156205
156213
"description": "<p>Display help and other information for a given object.</p>\n<p>Depending on the type of object that is passed in, this displays the\nobject's name, type, value, signature, docstring, and member variables,\nmethods \u2014 as well as the values/docstring of members and methods.</p>\n",
156206
156214
"args": [
@@ -156729,7 +156737,7 @@
156729
156737
"type_name": "Iterable",
156730
156738
"is_optional": false,
156731
156739
"is_kwarg_only": false,
156732
-
"description": "<p>Labels for the select options in an Iterable. This can be a\n<tt class=\"docutils literal\">list</tt>, <tt class=\"docutils literal\">set</tt>, or anything supported by <tt class=\"docutils literal\">st.dataframe</tt>. If\n<tt class=\"docutils literal\">options</tt> is dataframe-like, the first column will be used. Each\nlabel will be cast to <tt class=\"docutils literal\">str</tt> internally by default.</p>\n",
156740
+
"description": "<p>Labels for the select options in an <tt class=\"docutils literal\">Iterable</tt>. This can be a\n<tt class=\"docutils literal\">list</tt>, <tt class=\"docutils literal\">set</tt>, or anything supported by <tt class=\"docutils literal\">st.dataframe</tt>. If\n<tt class=\"docutils literal\">options</tt> is dataframe-like, the first column will be used. Each\nlabel will be cast to <tt class=\"docutils literal\">str</tt> internally by default.</p>\n",
156733
156741
"default": null
156734
156742
},
156735
156743
{
@@ -157279,7 +157287,7 @@
157279
157287
"type_name": "Iterable",
157280
157288
"is_optional": false,
157281
157289
"is_kwarg_only": false,
157282
-
"description": "<p>Labels for the select options in an Iterable. This can be a\n<tt class=\"docutils literal\">list</tt>, <tt class=\"docutils literal\">set</tt>, or anything supported by <tt class=\"docutils literal\">st.dataframe</tt>. If\n<tt class=\"docutils literal\">options</tt> is dataframe-like, the first column will be used. Each\nlabel will be cast to <tt class=\"docutils literal\">str</tt> internally by default.</p>\n<p>Labels can include markdown as described in the <tt class=\"docutils literal\">label</tt> parameter\nand will be cast to str internally by default.</p>\n",
157290
+
"description": "<p>Labels for the select options in an <tt class=\"docutils literal\">Iterable</tt>. This can be a\n<tt class=\"docutils literal\">list</tt>, <tt class=\"docutils literal\">set</tt>, or anything supported by <tt class=\"docutils literal\">st.dataframe</tt>. If\n<tt class=\"docutils literal\">options</tt> is dataframe-like, the first column will be used. Each\nlabel will be cast to <tt class=\"docutils literal\">str</tt> internally by default.</p>\n<p>Labels can include markdown as described in the <tt class=\"docutils literal\">label</tt> parameter\nand will be cast to str internally by default.</p>\n",
157283
157291
"default": null
157284
157292
},
157285
157293
{
@@ -157507,7 +157515,7 @@
157507
157515
"type_name": "Iterable",
157508
157516
"is_optional": false,
157509
157517
"is_kwarg_only": false,
157510
-
"description": "<p>Labels for the select options in an Iterable. This can be a\n<tt class=\"docutils literal\">list</tt>, <tt class=\"docutils literal\">set</tt>, or anything supported by <tt class=\"docutils literal\">st.dataframe</tt>. If\n<tt class=\"docutils literal\">options</tt> is dataframe-like, the first column will be used. Each\nlabel will be cast to <tt class=\"docutils literal\">str</tt> internally by default.</p>\n",
157518
+
"description": "<p>Labels for the select options in an <tt class=\"docutils literal\">Iterable</tt>. This can be a\n<tt class=\"docutils literal\">list</tt>, <tt class=\"docutils literal\">set</tt>, or anything supported by <tt class=\"docutils literal\">st.dataframe</tt>. If\n<tt class=\"docutils literal\">options</tt> is dataframe-like, the first column will be used. Each\nlabel will be cast to <tt class=\"docutils literal\">str</tt> internally by default.</p>\n",
157511
157519
"default": null
157512
157520
},
157513
157521
{
@@ -157612,7 +157620,7 @@
157612
157620
"type_name": "Iterable",
157613
157621
"is_optional": false,
157614
157622
"is_kwarg_only": false,
157615
-
"description": "<p>Labels for the select options in an Iterable. This can be a\n<tt class=\"docutils literal\">list</tt>, <tt class=\"docutils literal\">set</tt>, or anything supported by <tt class=\"docutils literal\">st.dataframe</tt>. If\n<tt class=\"docutils literal\">options</tt> is dataframe-like, the first column will be used. Each\nlabel will be cast to <tt class=\"docutils literal\">str</tt> internally by default.</p>\n",
157623
+
"description": "<p>Labels for the select options in an <tt class=\"docutils literal\">Iterable</tt>. This can be a\n<tt class=\"docutils literal\">list</tt>, <tt class=\"docutils literal\">set</tt>, or anything supported by <tt class=\"docutils literal\">st.dataframe</tt>. If\n<tt class=\"docutils literal\">options</tt> is dataframe-like, the first column will be used. Each\nlabel will be cast to <tt class=\"docutils literal\">str</tt> internally by default.</p>\n",
0 commit comments