Df6 [' order month]=df6 [' order time]. Dt. The month
To change to this or an error,,,,
df6. Loc [: 'order (date) (month) (year)]=df6. Loc [:' order time]. Dt. Date. The copy ()
D: \ soft \ PPPPython \ lib \ site - packages, pandas, core, indexing. The py: 1676: SettingWithCopyWarning:
A value is trying to be set on A copy of A slice from A DataFrame.
Try using. Loc [row_indexer col_indexer]=value home
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
Self. _setitem_single_column (ilocs [0], value, PI)