From ce2f8a42fc7be27f6bd9e57c6df7b7f6930a63e4 Mon Sep 17 00:00:00 2001 From: HowToSD Date: Fri, 21 Feb 2025 13:13:35 -0800 Subject: [PATCH] Updated a docstring for Pandas Loc Row MultiIndex DataFrame. --- docs/reference/node_reference.md | 2 +- docs/reference/pandas_loc_row_multiindex_dataframe.md | 2 +- modules/pandas_wrapper/pandas_loc_row_multiindex_dataframe.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/node_reference.md b/docs/reference/node_reference.md index 2f5738c..ba3e527 100644 --- a/docs/reference/node_reference.md +++ b/docs/reference/node_reference.md @@ -49,7 +49,7 @@ | [Pandas Iloc Row Series](pandas_iloc_row_series.md) | Selects a row from a pandas DataFrame and returning it as a Series. | | [Pandas Iloc Rows Data Frame](pandas_iloc_rows_dataframe.md) | Selects rows from a pandas DataFrame and returning it as a DataFrame. | | [Pandas Loc Cell Str](pandas_loc_cell_str.md) | Selects a cell from a pandas DataFrame and output as a string. | -| [Pandas Loc Row MultiIndex DataFrame](pandas_loc_row_multiindex_dataframe.md) | Selects a row from a pandas DataFrame with MultiIndex and output as a DataFrame. | +| [Pandas Loc Row MultiIndex DataFrame](pandas_loc_row_multiindex_dataframe.md) | Selects a row or rows from a pandas DataFrame with MultiIndex and output as a DataFrame. | | [Pandas Loc Row Series](pandas_loc_row_series.md) | Selects a row from a pandas DataFrame and output as a Series. | | [Pandas Select Columns](pandas_select_columns.md) | Selects specific columns from a pandas DataFrame. | | [Pandas Select Rows](pandas_select_rows.md) | Selects specific rows from a pandas DataFrame based on a condition. | diff --git a/docs/reference/pandas_loc_row_multiindex_dataframe.md b/docs/reference/pandas_loc_row_multiindex_dataframe.md index d853ab3..c1d279c 100644 --- a/docs/reference/pandas_loc_row_multiindex_dataframe.md +++ b/docs/reference/pandas_loc_row_multiindex_dataframe.md @@ -1,5 +1,5 @@ # Pandas Loc Row MultiIndex DataFrame -Selects a row from a pandas DataFrame with MultiIndex and output as a DataFrame. +Selects a row or rows from a pandas DataFrame with MultiIndex and output as a DataFrame. Specify comma-separated MultiIndex labels (row index) and the data type for the MultiIndex to select a row. diff --git a/modules/pandas_wrapper/pandas_loc_row_multiindex_dataframe.py b/modules/pandas_wrapper/pandas_loc_row_multiindex_dataframe.py index c2b56fa..4fdd5a5 100644 --- a/modules/pandas_wrapper/pandas_loc_row_multiindex_dataframe.py +++ b/modules/pandas_wrapper/pandas_loc_row_multiindex_dataframe.py @@ -4,7 +4,7 @@ import pandas as pd class PandasLocRowMultiIndexDataFrame: """ Pandas Loc Row MultiIndex DataFrame: - Selects a row from a pandas DataFrame with MultiIndex and output as a DataFrame. + Selects a row or rows from a pandas DataFrame with MultiIndex and output as a DataFrame. Specify comma-separated MultiIndex labels (row index) and the data type for the MultiIndex to select a row.