-
Notifications
You must be signed in to change notification settings - Fork 85
Description
Hey,
I have tried to compile your code but there is the following error:
C:/Users/admin/Desktop/test/unbenannt4_alt.py:252: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
order['Tax Percentage'][order['Journey Type'] == 'Domestic'] = 0
C:/Users/admin/Desktop/test/unbenannt4_alt.py:63: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
route['Warehouse Cost'][route['Warehouse Cost'].isnull()] = bigM
C:/Users/admin/Desktop/test/unbenannt4_alt.py:268: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
m.set_param(route, order)
Can you help me solve this?
Thanks a lot in advance!