To split the main area into a 2:1 layout (chart on left, controls on right):
Which command starts a Streamlit app from app.py?
Which command starts a Streamlit app from app.py?
To collect multiple inputs and submit them together (so the…
To collect multiple inputs and submit them together (so the page doesn’t rerun on every keystroke), use:
Which statement about Series and DataFrames is correct?
Which statement about Series and DataFrames is correct?
You need to convert a numeric column where some values are n…
You need to convert a numeric column where some values are non-numeric strings (like “n/a”). The cleanest approach is:
A 48-year-old client in the intensive care unit (ICU) is rec…
A 48-year-old client in the intensive care unit (ICU) is receiving mechanical ventilation for acute respiratory failure. The interdisciplinary team anticipates that the client will require an artificial airway and ventilatory support for longer than 21 days. Which airway device should the nurse expect the provider to recommend?
When inspecting a DataFrame for the first time, which call i…
When inspecting a DataFrame for the first time, which call is most useful for finding categories that appear with many spellings (“USA”, “U.S.A.”, “usa”)?
A column reads as object with values like “$1,234.50”. The c…
A column reads as object with values like “$1,234.50”. The cleanest two-step conversion to a numeric column is:
Why is df.iterrows() usually NOT the right way to operate on…
Why is df.iterrows() usually NOT the right way to operate on a DataFrame?
A column read as object contains values like “1,234” and “5,…
A column read as object contains values like “1,234” and “5,678”. To convert it to numbers, the cleanest approach is: