#Webinar
https://www.apexsystems.com/event/toolbox-talk/introduction-python?hf=77879371&utm_campaign=website&utm_source=Herefish&utm_medium=Email
https://www.apexsystems.com/event/toolbox-talk/introduction-python?hf=77879371&utm_campaign=website&utm_source=Herefish&utm_medium=Email
Apex Systems
Introduction to Python
Since its first release more than 20 years ago, Python has gone from being an obscure language from the Netherlands to one of the most widely used programming languages in the world.
By default, the new column is added at the end of #pandas DataFrame.
To insert a column at a specific column index, use
DataFrame.insert(loc, column, value)
To insert a column at a specific column index, use
DataFrame.insert(loc, column, value)
Did you know that you can give #Python's print an iterator and a separator?
So in this example you don't need the for loop
So in this example you don't need the for loop
#Python functions are first-class objects so you can access their attributes like this.
The #Python requests library lets you conveniently choose if you want to raise an exception or not.
Did you know #Python's random module has a function called "randrange" that lets you choose a random item from range(start, stop[, step]) ?
In #Python you can chain comparison operators ...
Instead of writing "1 < a and a < 10" you can write "1 < a < 10", a bit more concise.
Instead of writing "1 < a and a < 10" you can write "1 < a < 10", a bit more concise.