Tag: python

Home / python
Where programming languages are headed in 2020
Post

Where programming languages are headed in 2020

Originally posted on oreilly Experts discuss what’s in store for popular and growing programming languages. As we enter a new decade, we asked programming experts⁠—including several of our own O’Reilly authors and instructors⁠—for their thoughts on what’s in store for some established players and fast-growing languages. Python The biggest news this year in Python is...

How To Install External Python Libraries Using Pip
Post

How To Install External Python Libraries Using Pip

Originally posted on medium This article is the second in a series going over how to scrape Yahoo Finance for stock price history data using the Python coding language. In this lesson, you will learn about open-source repositories, security risks of external packages, and how to install the external Python libraries using the Anaconda Prompt...

PythonPlantsVsZombies
Post

PythonPlantsVsZombies

A simple PlantsVsZombies game implement plants: sunflower, peashooter, wallnut, snowpeashooter, cherrybomb, threepeashooter, chomper, puffshroom, potatomine, spikeweed, scaredyshroom, squash, scaredyshroom, jalapeno, sunShroom, iceShroom. implement zombies: zombie, flagzombie, coneheadzombie, bucketheadzombie, newspaperzombie. use json file to store level data (e.g.position and time of zombies, background info) support to select plant cards at the beginning of the level support...

Python’s Advantages and Disadvantages Summarized
Post

Python’s Advantages and Disadvantages Summarized

Are you a Python programmer? What are your thoughts? Python’s been gaining popularity year over the year for the past few years. In a 2019 Stack Overflow survey, Python was named the second-most beloved language of developers. Python’s often cited as being multipurpose and easy to be productive in. Its domination in machine learning and data...

Building Actuarial Functions in Python
Post

Building Actuarial Functions in Python

In college, I studied Actuarial Science. When I graduated I decided to learn more about data science and programming as I had always been interested in computer science. Soon after I began studying data science at the Flatiron School, I wrote a blog about the potential overlap between these two studies of actuarial science and data...

Three Ways to Use the Walrus Operator in Python
Post

Three Ways to Use the Walrus Operator in Python

Expand your toolkit with this new operator With the release of Python 3.8, the assignment-expression operator—also known as the walrus operator—was released. The operator enables the assignment of a value to be passed into an expression. This generally reduces the number of statements by one. For example: my_list = [1,2,3]count = len(my_list) if count >...

What Does the “Yield” Keyword Do?
Post

What Does the “Yield” Keyword Do?

Iterables, functions, and generators in Python To learn about the yield keyword, there are a variety of other terms and concepts that you must be comfortable with first. Before we dive into all of that, let’s keep the end in mind and talk through why yield is beneficial. Using yield will improve the memory efficiency — and subsequently, the speed/performance — when...

3 Essential Python Skills for Data Scientists
Post

3 Essential Python Skills for Data Scientists

Learning Pandas is great. Numpy is also tons of fun. But have you maybe started using libraries to early? Maybe you are still not aware of everything pure Python has to offer. If that sounds like you, you’ll like this article. Photo by fabio on Unsplash This article will cover a couple of pretty cool pure Python functionalities that I use the most often...

Multiprocessing vs. Threading in Python: What Every Data Scientist Needs to Know
Post

Multiprocessing vs. Threading in Python: What Every Data Scientist Needs to Know

Sooner or later, every data science project faces an inevitable challenge: speed. Working with larger data sets leads to slower processing thereof, so you’ll eventually have to think about optimizing your algorithm’s run time. As most of you already know, parallelization is a necessary step of this optimization. Python offers two built-in libraries for parallelization:...

Best IDE for Python
Post

Best IDE for Python

We’ve picked our five favorite Integrated Development Environments Our first baby steps with Python, which typically involve making a ‘Hello World’ program and a couple of typos, don’t require much in the way of specialist tools. It’s fine to hammer out the code in a text editor, switch to a terminal, and then run it....

Awesome Python: A curated list of awesome Python frameworks, libraries, software and resources
Post

Awesome Python: A curated list of awesome Python frameworks, libraries, software and resources

Inspired by awesome-php. Awesome Python Admin Panels Algorithms and Design Patterns Audio Authentication Build Tools Built-in Classes Enhancement Caching ChatOps Tools CMS Code Analysis Command-line Interface Development Command-line Tools Compatibility Computer Vision Concurrency and Parallelism Configuration Cryptography Data Analysis Data Validation Data Visualization Database Database Drivers Date and Time Debugging Tools Deep Learning DevOps Tools Distributed...

Data Preprocessing in Python
Post

Data Preprocessing in Python

for Machine Learning with working code example… Inone of my previous posts, I talked about Data Preprocessing in Data Mining & Machine Learning conceptually. This will continue on that, if you haven’t read it, read it here in order to have a proper grasp of the topics and concepts I am going to talk about in the article. Data...