![]() |
|
[Python] Looking for references to read - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Looking for references to read (/showthread.php?tid=5518107) |
Looking for references to read - 0NUR0UX - Jan 8, 2017 Hey, I want to make a project on Big Data analysis using Python. Anyone has good links? Thanks. * - Dialog - Jan 8, 2017 http://shop.oreilly.com/product/0636920023784.do * - LovelyBot - Jan 8, 2017 I highly recommend you this site/book http://guidetodatamining.com/ I found it very useful, learning to datamine and to do analysis on big sets of data * - Goodies - Jan 9, 2017 Highly recommended: https://pymotw.com/3/ https://pymotw.com/2/ * - 0NUR0UX - Jan 9, 2017 Thank you all. I appreciate it a lot! * - 0NUR0UX - Jan 15, 2017 So far, I can scrap data from the IMDb website. Code def scrapData(url):* - Goodies - Jan 16, 2017 (Jan 15, 2017 09:48 PM)0NUR0UX Wrote: So far, I can scrap data from the IMDb website. If that's the main purpose of the program, there's no need to import the module within a function. You're not doing optional paths with different libraries, so you should just move the imports to the top. Also, you should follow the SRP. Having a function that does too many things (gets data and parses it) is not ideal. I recommend you separate them out into two functions and perhaps have one that combines them. This will let you, for example, easily change out parsers. PHP Code * - 0NUR0UX - Jan 16, 2017 (Jan 16, 2017 05:29 PM)Goodies Wrote: If that's the main purpose of the program, there's no need to import the module within a function. You're not doing optional paths with different libraries, so you should just move the imports to the top. Thanks man, you are awesome I really appreciate your help. |