Skip to content

Commit daec112

Browse files
authored
replace collapsible with class:dropdown in pandas.rst
1 parent 19e6a37 commit daec112

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/day3/pandas.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ The main object classes of Pandas are ``Series`` and ``DataFrame``. There is als
280280
For the rest of this lesson, example DataFrames will be abbreviated as ``df`` in code snippets (and example Series, if they appear, will be abbreviated as ``ser``).
281281

282282
.. admonition:: **Important Attributes Cheatsheet**
283-
:collapsible: closed
283+
:class: dropdown
284284

285285
The API reference in the `official Pandas documentation <https://pandas.pydata.org/docs/user_guide/index.html>`_ shows hundreds of methods and attributes for Series and DataFrames. The following is a very brief list of the most important attributes and what they output.
286286

@@ -403,7 +403,7 @@ The main data inspection functions for DataFrames (and Series) are as follows:
403403
print('\n Compare: \n',df.memory_usage(deep=True))
404404

405405
.. admonition:: "Data Selection and Preprocessing Cheatsheet"
406-
:collapsible:
406+
:class: dropdown
407407

408408
Below is a table of the syntax for how to select or assign different subsets or cross-sections of a DataFrame. `The complete guide, including how to select data by conditions, can be found at this link. <https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html>`__
409409

0 commit comments

Comments
 (0)