
Probably Overthinking It: Regression with Python, pandas and StatsModels I was at Boston Data-Con 2014 this morning, which was a great event. The organizer, John Verostek, seems to have created this three-day event single-handedly, so I am hugely impressed. Imran Malek started the day with a very nice iPython tutorial. The description is here, and his slides are here. And Imran very kindly let me use his laptop to project slides for my talk, which was next. Regression is a powerful tool for fitting data and making predictions. As an example, I will use data from the National Survey of Family Growth to generate predictions for the date of birth, weight, and sex of an expected baby. This talk is appropriate for people with no prior experience with regression. And here are my slides: The material for this talk is from the second edition of Think Stats, which is in production now and scheduled for release in early November. As I expected, I prepared way more material than I could present. I believe video of the talk will be available soon.
The Python I Would Like To See This post is surprisingly confused, it is phrased as a complaint about the language, then immediately degrades into CPython implementation specifics that have little bearing on the usability of the language itself. Ronacher should also know better than to post microbenchmarks like the one provided here, especially without corresponding (C) profiler output. At the C level, slots allow the implementation constant-time access to the most common code paths for an object, and especially when you have C code calling other C code via the type system (IMHO the primary use for Python, and still its strongest use case), "interpreter overhead" is reduced to a few extra memory indirection operations. In the alternative world, sure, perhaps some microbenchmark may behave faster, but now systemically, and for e.g. "reduce(operator.add, range(1000))" requires more hash table lookups than I can count.
The Python I Would Like To See written on Saturday, August 16, 2014 It's no secret that I'm not a fan of Python 3 or where the language is currently going. This has led to a bunch of emails flying my way over the last few months about questions about what exactly I would prefer Python would do. Python is definitely a language that is not perfect. I want to take you on a journey that starts with a small oddity in the interpreter (slots) and ends up with the biggest mistake in the language design. In general though these posts will be an exploration about design decisions in the interpreter and what consequences they have on both the interpreter and the resulting language. Language vs Implementation I added this particular paragraph after I wrote the initial version of this article because I think it has been largely missed that Python as a language and CPython as the interpreter are not nearly as separate as developers might believe. Slots By far my biggest problem with the language is the stupid slot system. Yes. $ .
Full Stack Python Minecraft: Pi Edition- How to Use Python @Raspberry_pi #piday #raspberrypi August 15, 2014 AT 2:00 am This tutorial from MakerSpace UK is a great intro into using python and your Raspberry Pi with Minecraft: First, we have to do a bit of setting up. Read more. Each Friday is PiDay here at Adafruit! Related No comments yet. Adafruit has a "be excellent to each other" comment policy. Numerical Methods With Python MOOC Starts Today An interesting sounding MOOC that will help students implement numerical solution methods in well-designed Python programs starts on August 18. The course was announced at last months SciPy (Scientific Python) conference where Professor Lorena A Barba, who will be one of four instructors for the MOOC, MAE6286: Practical Numerical Methods with Python, delivered using Open edX software. The MOOC is taking place in conjunction with four on-campus credit bearing classes for first-year graduate students at George Washington University (Washington, DC, USA) King-Abdullah University of Science and Technology (Saudi Arabia) University of Southampton (UK) Pontifical Catholic University of Chile (Santiago, Chile) It is described as: a groundbreaking example of inter-institutional (across four continents!) The decision not to go with Coursera, edX or any similar MOOC providers is a deliberate one, in keeping with its ideals of open education: Over the course of the MOOC, students will learn to:
Introduction to Python Web Frameworks So, you’ve learned Python, perhaps using one of the resources you found in our MegaGuide. You’ve built some projects that run on your computer, and now you’re ready to share them with the world online. What’s the next step? If you want to turn your Python project into a web application or a dynamic website, and host it on the Internet for anyone to access, you’re going to need to use a web framework. You can build your own framework, but as Guido van Rossum, creator of Python, says: “a framework written to serve the needs of a single target application wouldn’t necessarily be better than some of the web frameworks that already exist.” A web framework, also known as a web application framework, is the glue that bonds your project to the server that’s hosting it. Learning a framework can be intimidating, especially for beginners, as the guides and documentation associated with any given framework can be difficult to understand. Django Website Official Documentation Official Tutorial Advantages
438 pages pages, May 2010 56 reviews, 3 star 0 2 star 0 1 star 0 366 pages pages, Jan 2012 436 pages pages, Apr 2013 448 pages, Feb 2015 21 reviews, 435 pages pages, Dec 2013 228 pages pages, Feb 2014 1600 pages pages, Jul 2013 455 pages pages, Jan 2010 494 pages pages 320 pages pages, Sep 2014 7 reviews, 164 pages pages 34 reviews, 342 pages pages 100 pages pages, Sep 2014 230 pages pages, Jul 2014 6 reviews, 216 pages pages, Aug 2014 432 pages pages, Feb 2014 3 reviews, 4 star 0 416 pages pages, Aug 2014 15 reviews, 100 pages pages, Aug 2014 3 reviews, 2 reviews, 240 pages pages, Jul 2014 300 pages pages, Aug 2012 265 pages pages, Jul 2014 100 pages pages, Jul 2014 124 pages pages, Jun 2014 12 reviews, 352 pages pages, Jul 2014 8 reviews, 238 pages pages, Jun 2014 134 pages pages, May 2014 502 pages pages, May 2014 16 reviews, 258 pages pages, May 2014 256 pages pages, Apr 2014 634 pages pages, Apr 2014 1 reviews, 368 pages pages 9 reviews, 480 pages pages, Jun 2014 3 reviews, 234 pages pages, Mar 2014 4 reviews, 208 pages pages
Interactive Python on Any Page We are excited to announce the release of a new tool that lets anyone embed Interactive Python on their own blog or web site. This technology has been available in Trinket from the beginning and starting today you can use it for free and without signing in. We’ve seen over and over how the interactivity of this tool increases engagement with students and we hope you’ll try it out in your own teaching. Take a look at the example below to see it in action. In mid-April our team traveled to Montreal for PyCon. Our lead engineer, Ben Wheeler, performed his magic by integrating open source software like the Ace Editor and Skulpt to create this easy to use tool. Ready to create your own? Coming up next we’ll be working on saving all the neat snippets your visitors and students create and we’ll give you access to a dashboard to use in class.