I already have dataset of dogs and cats , so do i need to make .csv file or can i directly use the dataset for classification


closed as unclear what you're asking by BrunoGL, Stephen Rauch, Toros91, TitoOrt, OmG Dec 17 '18 at 9:56

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    $\begingroup$ Hello Chinmayg, welcome to the site. Your question is not very clear. CSV = Comma Separated Value. It is a file format for storing tabular information. If you make you question more clear, we can better help you. How does your current dataset look like, are the dogs and cats images? Why do you tag SVM? What programming language are you using? What packages are you using? If you improve your question I will be glad to help. $\endgroup$ – BrunoGL Dec 16 '18 at 12:11
  • $\begingroup$ en.wikipedia.org/wiki/Comma-separated_values $\endgroup$ – Stephen Rauch Dec 16 '18 at 16:36

A csv file is a way to store an array (similar to an excel table). With a code like this one, you can save a pandas dataframe to a csv file:

 import pandas as pd
 df = pd.DataFrame({'c1':[1, 2, 3, 4], 'c2':['a', 'b', 'c', 'd']})

which will look like that


Not the answer you're looking for? Browse other questions tagged or ask your own question.