04848nam 2200625Ia 450 991046251320332120200520144314.01-283-73904-61-84951-893-9(CKB)2670000000271376(EBL)1057942(OCoLC)818818959(SSID)ssj0000796584(PQKBManifestationID)11484448(PQKBTitleCode)TC0000796584(PQKBWorkID)10792672(PQKB)10694805(MiAaPQ)EBC1057942(PPN)227981839(Au-PeEL)EBL1057942(CaPaEBR)ebr10623093(CaONFJC)MIL405154(EXLCZ)99267000000027137620121130d2012 uy 0engur|n|---|||||txtccrNumPy cookbook[electronic resource] /Ivan IdrisBirmingham, [Eng.] Packt Publishing20121 online resource (226 p.)Includes index.1-84951-892-0 Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Winding Along with IPython; Introduction; Installing IPython; Using IPython as a shell; Reading manual pages; Installing Matplotlib; Running a web notebook; Exporting a web notebook; Importing a web notebook; Configuring a notebook server; Exploring the SymPy profile; Chapter 2:Advanced Indexing and Array Concepts; Introduction; Installing SciPy; Installing PIL; Resizing images; Creating views and copies; Flipping Lena; Fancy indexing; Indexing with a list of locationsIndexing with booleansStride tricks for Sudoku; Broadcasting arrays; Chapter 3:Get to Grips with Commonly Used Functions; Introduction; Summing Fibonacci numbers; Finding prime factors; Finding palindromic numbers; The steady state vector determination; Discovering a power law; Trading periodically on dips; Simulating trading at random; Sieving integers with the Sieve of Erasthothenes; Chapter 4:Connecting NumPy with the Rest of the World; Introduction; Using the buffer protocol; Using the array interface; Exchanging data with MATLAB and Octave; Installing RPy2; Interfacing with RInstalling JPypeSending a NumPy array to JPype; Installing Google App Engine; Deploying NumPy code in the Google cloud; Running NumPy code in a Python Anywhere web console; Setting up PiCloud; Chapter 5:Audio and Image Processing; Introduction; Loading images into memory map; Combining images; Blurring images; Repeating audio fragments; Generating sounds; Designing an audio filter; Edge detection with the Sobel filter; Chapter 6:Special Arrays and Universal Functions; Introduction; Creating a universal function; Finding Pythagorean triples; Performing string operations with chararrayCreating a masked arrayIgnoring negative and extreme values; Creating a scores table with recarray; Chapter 7:and Debugging; Introduction; Profiling with timeit; Profiling with IPython; Installing line_profiler; Profiling code with line_profiler; Profiling code with the cProfile extension; Debugging with IPython; Debugging with pudb; Chapter 8:Quality Assurance; Introduction; Installing Pyflakes; Performing static analysis with Pyflakes; Analyzing code with Pylint; Performing static analysis with Pychecker; Testing code with docstrings; Writing unit tests; Testing code with mocksTesting the BDD wayChapter 9:Speed Up Code with Cython; Introduction; Installing Cython; Building a Hello World program; Using Cython with NumPy; Calling C functions; Profiling Cython code; Approximating factorials with Cython; Chapter 10:Fun with Scikits; Introduction; Installing scikits-learn; Loading an example dataset; Clustering Dow Jones stocks with scikits-learn; Installing scikits-statsmodels; Performing a normality test with scikits-statsmodels; Installing scikits-image; Detecting corners; Detecting edges; Installing Pandas; Estimating stock returns correlation with PandasLoading data as pandas objects from statsmodelsWritten in Cookbook style, the code examples will take your Numpy skills to the next level. This book will take Python developers with basic Numpy skills to the next level through some practical recipes.Python (Computer program language)Numerical analysisData processingElectronic books.Python (Computer program language)Numerical analysisData processing.006.76Idris Ivan868465MiAaPQMiAaPQMiAaPQBOOK9910462513203321NumPy cookbook2207156UNINA