get_first_element_of_series_if_not_empty
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
get_first_element_of_series_if_not_empty [2021/01/17 02:01] – [Issue] raju | get_first_element_of_series_if_not_empty [2021/01/17 02:04] (current) – [Solution] raju | ||
---|---|---|---|
Line 58: | Line 58: | ||
next(iter(df.loc[mask][' | next(iter(df.loc[mask][' | ||
</ | </ | ||
+ | or next(iter(series), | ||
+ | |||
With the above example | With the above example | ||
< | < |
get_first_element_of_series_if_not_empty.1610848898.txt.gz · Last modified: 2021/01/17 02:01 by raju