Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Data Science by (150 points)

I keep getting this when I run the following command 

> df1-read.csv("C:/Users/Ify D/Desktop/IfyDataClasscustomer_churn.csv")
Error: object 'df1' not found

closed

1 Answer

0 votes
by (16.8k points)
selected by
 
Best answer

Hi,

It's the problem with your code, instead of using dash (-) after df1, you have to use equal to sign (=), in order to store your dataframe inside 'df1'.

Use this:

df1 = read.csv("C:/Users/Ify D/Desktop/IfyDataClasscustomer_churn.csv")

This will definitely work, please revert to me if it doesn't work.

How do I resolve the following Error: object 'df1' not found
Intellipaat-community
by (150 points)
Thank you, it worked!

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...