You are correct and I am wrong. I earned the way t copy a dataframe (deep copy actually) and have it stand alone and not be changed, by any
changes to the original template.
It works perfectly.
However, the final command which was given to me in this series of posts it still throwing errors. The error is:
Error:
ndexError Traceback (most recent call last)
Input In [14], in <cell line: 1>()
----> 1 df["machine_status"] = df1["machine_status"]
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
I am still not getting the line to work. What is the cause of this error?
Thanks in advance.
Respectfully,
LZ