Web: https://www.reddit.com/r/datascience/comments/sdf78c/missing_values_in_dataframes/

Jan. 26, 2022, 8:13 p.m. | /u/intheprocesswerust

Data Science reddit.com

What's the best way to replace missing values in a dataframe, that has missing 'text' values? I.e. say I have a pandas dataframe, 8 numeric columns, 2 non-numeric. If, say I had one column as "Male/Female" and had "Male", "Female", "Female", "NaN", ..., "Female", Would it be best to just insert "MissingValue"? Is this anything really better than "NaN" for text values? For numeric values I may be able to insert a mean of all the other values. I cannot …

dataframes datascience missing values values

Senior Data Analyst

@ Fanatics Inc | Remote - New York

Data Engineer - Search

@ Cytora | United Kingdom - Remote

Product Manager, Technical - Data Infrastructure and Streaming

@ Nubank | Berlin

Postdoctoral Fellow: ML for autonomous materials discovery

@ Lawrence Berkeley National Lab | Berkeley, CA

Principal Data Scientist

@ Zuora | Remote

Data Engineer

@ Veeva Systems | Pennsylvania - Fort Washington