About 234,000 results
Open links in new tab
  1. How can I find where Python is installed on Windows?

    Mar 15, 2009 · You know that Python is installed, but can you run Python or not? In my case, I didn't install it; various products may have installed it and I want to find out if it exists somewhere in the file …

  2. numpy.where — NumPy v2.4 Manual

    Return elements chosen from x or y depending on condition. When only condition is provided, this function is a shorthand for np.asarray(condition).nonzero(). Using nonzero directly should be …

  3. Finding Where Python Is Installed (when it isn’t the default dir)

    Dec 23, 2023 · The methods for finding Python’s install location vary across operating systems. In detail, we’ll explore platform-specific techniques on Windows, Linux/Unix, and macOS.

  4. pandas.DataFrame.where — pandas 2.3.3 documentation

    Roughly df1.where(m, df2) is equivalent to np.where(m, df1, df2). For further details and examples see the where documentation in indexing. The dtype of the object takes precedence. The fill value is …

  5. How to find the Python Installation Path on Windows?

    Apr 5, 2025 · Both the Command Prompt and Terminal methods are effective ways to find the Python installation path on your Windows system. While the Command Prompt is more traditional, Terminal …

  6. numpy.where() in Python - GeeksforGeeks

    Sep 30, 2025 · numpy.where () is used for conditional selection and replacement in NumPy arrays. It can be used to: Build a new array by choosing values from two options depending on a condition. In …

  7. Where Is Python Installed on My Computer and How Can I Find It?

    One of the most straightforward ways to find where Python is installed on your system is by using command line tools. These tools vary depending on your operating system, but they generally help …

  8. Python's `where` Function: A Comprehensive Guide - CodeRivers

    Mar 28, 2025 · In Python, the concept of "where" is not a built - in keyword like in some other programming languages. However, there are several ways to achieve the functionality similar to what …

  9. How to Use Conditional Expressions With NumPy where () - Real Python

    When you run where(), you’ll produce a new array containing the results of your analysis. You generally supply three parameters when using where(). First, you provide a condition against which each …

  10. NumPy where () Function With Examples - Spark By Examples

    Mar 27, 2024 · In this article, I will explain Python NumPy where() function using its syntax, parameters, and how to use it to check the conditions on an array and get an array based on conditions on …