350-2 Stuck in first unit of python guided project

Explore both data sets using the explore_data() function.

  • Print the first few rows of each data set.
  • Find the number of rows and columns of each data set (recall that the function assumes the argument for the dataset parameter doesn’t have a header row).
    how can I get proper syntax?
    **explore_data(‘AppleStore.csv’,1,2)

hey there @digitalmessageinnova I’ll take a stab at this.

I believe that you need to open the file if it’s a .csv file first with the open function. Once it’s a dataset that is an intialized variable then it can be taken as an argument in that function.

If you check the first few lines of the solution file you can see an example on how to open a file.

Hope this helps, let me know if you need any additional context/explanations

1 Like