Posts

Showing posts with the label Pandas

The beauty of using Django

Image
Is Django Really Worth learning? Features of any technology can tell us what it is best suitable for. Whenever we learn some new technology, it is due to a reason. There are lots of reasons to learn Django. And, through this article, we will tell you what Django has solved and what it is doing best. So let’s start the Django features tutorial- Features of Django Framework Top Features of Django Framework Below, we will discuss the best features of Django in detail. 1. Excellent Documentation This is one of the main reasons to start learning Django. If we compare Django with other open source technologies, it offers the best documentation in the market. Better documentation of any technology is like a very well-established library for any developer. There, he can search for any function desired with ease with the time involving in the searching purpose only. The documentation of any technology is also one of the categories to grade a technology, as i...

Coding in Python

Image
Good and Bad Practices of Coding in Python Python is a high-level multi-paradigm programming language that emphasizes readability. It’s being developed, maintained, and often used following the rules called The Zen of Python or PEP 20. This article shows several examples of good and bad practices of coding in Python that you’re likely to meet often. Using Unpacking to Write Concise Code Packing and unpacking are powerful Python features. You can use unpacking to assign values to your variables: >>> a, b = 2, 'my-string' >>> a 2 >>> b 'my-string' You can exploit this behavior to implement probably the most concise and elegant variables swap in the entire world of computer programming: >>> a, b = b, a >>> a 'my-string' >>> b 2 That’s awesome! Unpacking can be used for the assignment to multiple variables in more complex cases. For example, you can assign like this: >>> x = (1, 2,...