User Tools

Site Tools


get_first_element_of_series_if_not_empty

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
get_first_element_of_series_if_not_empty [2021/01/16 07:40] – [get first element of series if not empty] rajuget_first_element_of_series_if_not_empty [2021/01/16 07:41] – [get first element of series if not empty] raju
Line 1: Line 1:
 ===== get first element of series if not empty ===== ===== get first element of series if not empty =====
  
-tags | apply iloc[0] on a series only if it is not empty, pandas check for emptiness before applying iloc, check for emptiness before getting the first element, pandas iloc on empty series+tags | apply iloc[0] on a series only if it is not empty, pandas check for emptiness before applying iloc, check for emptiness before getting the first element, pandas iloc on empty series, pandas series return first value if not empty
  
 ==== Task ==== ==== Task ====
get_first_element_of_series_if_not_empty.txt · Last modified: 2021/01/17 02:04 by raju