help: pandas and 2d table
Tim Williams
tjandacw at gmail.com
Sat Apr 13 13:14:35 EDT 2024
On Sat, Apr 13, 2024 at 1:10 PM Mats Wichmann via Python-list <
python-list at python.org> wrote:
> On 4/13/24 07:00, jak via Python-list wrote:
>
> doesn't Pandas have a "where" method that can do this kind of thing? Or
> doesn't it match what you are looking for? Pretty sure numpy does, but
> that's a lot to bring in if you don't need the rest of numpy.
>
> pandas.DataFrame.where — pandas 2.2.2 documentation (pydata.org)
<https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.where.html#pandas.DataFrame.where>
More information about the Python-list
mailing list