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
[I am confuse why this is not working properly, if I initiate the 'combined' columns first to 0 first, it works. I understand that this is a sub-optimal approach but I am just wondering why is this breaking up]
The short-version is DataFrame.apply tries to infer an output based on the result. The result of your output is inferred to be a DataFrame with the same columns.
Code Sample, a copy-pastable example if possible
Problem description
[I am confuse why this is not working properly, if I initiate the 'combined' columns first to 0 first, it works. I understand that this is a sub-optimal approach but I am just wondering why is this breaking up]
Expected Output
Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: