79276035

Date: 2024-12-12 17:30:28
Score: 1.5
Natty:
Report link

An example with Pandas:

df = pd.DataFrame({"DT_CLS": ["date1", "date2", np.nan, np.nan, "date3"]})
df["OPEN_CLS_STS"] = df["DT_CLS"].map(lambda x: "C" if x is not np.nan else "O")
display(df)

res

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rehaqds