You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In numerical calculations users may want to use 0 or 0.0 instead of None. In strings users may want a different value, f.x. "" as None.
What are the pro/con for implementing a custom None value?
users can/could just update the table instead:
sometable['column_x'] = [x = "" for x in sometable['column_x'] if x is None] # *strings*
sometable['column_x'] = [x = 0.0 for x in sometable['column_x'] if x is None] # *floats*.
sometable['column_x'] = [x = 0 for x in sometable['column_x'] if x is None] # *integers*.
...?
The text was updated successfully, but these errors were encountered:
In numerical calculations users may want to use 0 or 0.0 instead of None. In strings users may want a different value, f.x. "" as None.
What are the pro/con for implementing a custom None value?
users can/could just update the table instead:
...?
The text was updated successfully, but these errors were encountered: