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
Hi again, could you please take a look at the aggregation functions (e.g. mean) that you use with pandas Dataframe objects? Occasionally, a "TypeError: Could not convert .... to numeric" occurs. Apparently this error is caused due to the presence of some "nan" values in the column of the dataframe to be summarized. Maybe a solution would be to invoke the mean function as follows: dataframe.mean (skipna = True). Thank you!
The text was updated successfully, but these errors were encountered:
Hi again, could you please take a look at the aggregation functions (e.g. mean) that you use with pandas Dataframe objects? Occasionally, a "TypeError: Could not convert .... to numeric" occurs. Apparently this error is caused due to the presence of some "nan" values in the column of the dataframe to be summarized. Maybe a solution would be to invoke the mean function as follows: dataframe.mean (skipna = True). Thank you!
The text was updated successfully, but these errors were encountered: