About 15,600,000 results
Open links in new tab
  1. Null object in Python - Stack Overflow

    Jul 20, 2010 · How do I refer to the null object in Python?

  2. What is the Python equivalent to assigning NULL to a pointer in C?

    Note that unlike in NULL in C, None is not a "pointer to nowhere": it is actually the only instance of class NoneType. Therefore, as None is a regular object, you can test for it just like any other …

  3. How to test a variable is null in python - Stack Overflow

    May 12, 2017 · How to test a variable is null in python [duplicate] Asked 8 years, 7 months ago Modified 7 years, 10 months ago Viewed 465k times

  4. How to check if the string is empty in Python? - Stack Overflow

    Does Python have something like an empty string variable where you can do: if myString == string.empty: Regardless, what's the most elegant way to check for empty string values? I find …

  5. null - python: return, return None, and no return at all -- is there ...

    Note that there's a stylistic difference. return None implies to me that the function sometimes has a non- None return value, but at the location of return None, there is no such return value. …

  6. Is there a Python equivalent of the C# null-coalescing operator?

    Feb 12, 2011 · The relevant PEP considering adding null-aware operators to the language is PEP 505 and the discussion relevant to the document is in the python-ideas thread.

  7. python - Remove row with null value from pandas data frame

    Jun 14, 2017 · I'm trying to remove a row from my data frame in which one of the columns has a value of null. Most of the help I can find relates to removing NaN values which hasn't worked …

  8. Python - Checking for Null Object - Stack Overflow

    Jun 28, 2001 · The "null object" is None. Martijn's answer shows how to do that. This is checking for a variable not being bound at all, not for a variable being bound to the null object. Anyway, …

  9. How do I test for null list entry in python list - Stack Overflow

    Oct 8, 2013 · 9 I have a python list [1,2,,4,5,6]. What is the best method for testing for the missing, or null, list element? I am currently performing a if element != '' but I think there is a built-in test …

  10. null - None vs Empty String in Python - Stack Overflow

    Dec 15, 2011 · None vs Empty String in Python Asked 14 years ago Modified 5 years, 6 months ago Viewed 55k times