with single line and few optional parameters (as per requirements)pandas extracts data from csv file into dataframewhich is tabular representation of the same data one of the major advantages of using pandas is the fact that it can handle lot of different variations in csv filessuch as files with or without headersattribute values enclosed in quotesinferring data typesand many more alsothe fact that various machine learning libraries have the capability to directly work on pandas dataframesmakes it virtually de facto standard package to handle csv files the previous snippet generates the following output dataframesno fruit color price apple red banana yellow mango yellow orange orange kiwi green pineapple yellow guava green ##note pandas makes the process of reading csv files breezeyet the csv module comes in handy when we need more flexibility for examplenot every use case requires data in tabular form or the data might not be consistently formatted and requires flexible library like csv to enable custom logic to handle such data along the same linesdata from flat files containing delimiters other than ',(commalike tabs or semicolons can be easily handled with these two modules we will use these utilities while working on specific use cases in further until thenyou are encouraged to explore and play around with these for better understanding json java script object notation (jsonis one of the most widely used data interchange formats across the digital realm json is lightweight alternative to legacy formats like xml (we shall discuss this format nextjson is text format that is language independent with certain defined conventions json is human-readable format that is easy/simple to parse in most programming/scripting languages json file/object is simply collection of name(key)-value pairs such key-value pair structures have corresponding data structures available in programming languages in the form of dictionaries (python dict)structobjectrecordkeyed listsand so on more details are available at the json standard defines the structureas depicted in figure - figure - json object structure (reference