Member-only story
100 Days of DevOps — Day 93-Python Functions
To view the updated DevOps course(101DaysofDevOps)
Course Registration link: https://www.101daysofdevops.com/register/
Course Link: https://www.101daysofdevops.com/courses/101-days-of-devops/
YouTube link: https://www.youtube.com/user/laprashant/videos
Welcome to Day 93 of 100 Days of DevOps, Focus for today is Python Functions
We can think function as a reusable piece/chunk of code
Built-in functions
The modules that come with Python are called the standard library.
for eg: print()/len() is a built-in function
But we can install third-party modules using Python Package Index(pip)
# pip3 install pandasCollecting pandas100% |████████████████████████████████| 11.8MB 142kB/sRequirement already satisfied: python-dateutil>=2 in /usr/local/lib/python3.6/site-packages (from pandas)Requirement already satisfied: pytz>=2011k in /usr/local/lib/python3.6/site-packages (from pandas)Requirement already satisfied: numpy>=1.7.0 in /usr/local/lib/python3.6/site-packages (from pandas)Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.6/site-packages (from python-dateutil>=2->pandas)Installing collected packages: pandas