Last answered:

26 Dec 2023

Posted on:

01 Aug 2023

2

Error in `rename()`: ! Can't rename columns that don't exist.

Due to this error, I can't run this code

2 answers ( 0 marked as helpful)
Instructor
Posted on:

04 Aug 2023

0

Hi Tahmina, thanks for reaching out! 

Could you send me a screenshot of how your data looks? In particular, this error says that you have no column named 'Returns', so I'm wondering whether there is a small typo in the column name, or if you meant another column alltogether. 

Let me know!


Best, 

365 Eli

Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Posted on:

26 Dec 2023

1

Hi Tahmina Huseynova , make sure you have loaded library(plyr)... I was getting the same error when I didn't load this library.

Submit an answer