Last answered:

29 Feb 2024

Posted on:

28 Feb 2024

0

Resolved: Columns not dropped despite using drop method

Hi,

I have used exactly the code used in the lesson to drop the unwanted columns. However, all_df[0] displays all columns, including the dropped one. What is the issue with the code? Please see attachment.

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

28 Feb 2024

0

Hey Dhaivat,


Thank you for reaching out!


At first glance, I can't find any issue with the code. Could you please restart the kernel of your notebook and run all cells anew in order?


If that doesn't solve the problem, could you please extend the screenshot so that it covers the definitions of the all_df and files variables?


Thank you!


Kind regards,

365 Hristina

Posted on:

29 Feb 2024

0

Hi Hristina,

Thanks a lot for the suggestion! It worked after restarting the kernel.


PS: I have a few unanswered queries in the course "Machine Learning with Excel". They are pending since more than 10 days. I don't know who to reach out to. Since you have the habit of replying promptly, may I request you to answer those ones too (or at least re-direct to relevant instructors)? Sorry for this request to you, but the queries are important for me to be resolved.

Instructor
Posted on:

29 Feb 2024

0

Hey again Dhaivat,


Happy the problem is resolved!


I've informed the Machine Learning with Excel course instructor and he should reach out to you shortly.


Kind regards,

365 Hristina

Submit an answer