Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

logged_passengers

logged_passengers = air_passengers["#Passengers"].apply(lambda x : np.log(x))

ax1 = plt.subplot(121)
logged_passengers.plot(figsize=(12,4) ,color="tab:red", title="Log Transformed Values", ax=ax1);
ax2 = plt.subplot(122)
air_passengers.plot(color="tab:red", title="Original Values", ax=ax2);
Comment

PREVIOUS NEXT
Code Example
Python :: yml file for django 
Python :: How to separate characters, Numbers and Special characters from given string with python 
Python :: python async await function await expression 
Python :: gensim word2vec loop keyed vector 
Python :: from django.urls import path, re_path 
Python :: run c code in python 
Python :: comparison operators in python 
Python :: Function argument unpacking in python 
Python :: Get First In Table Django 
Python :: packing a tuple 
Python :: jntuk r20 1-2 python lab manual 
Python :: print(((x//y)+1)*z) means in python 
Python :: list comperhension condition in python 
Python :: commend in .env 
Python :: python iterate through lists 
Python :: Source code: Matrix Addition using Nested Loop 
Python :: python array to text 
Python :: how to read file again in python 
Python :: math plotlib 2 y axes 
Python :: how to install pandas in python by git 
Python :: command run test keep db python 
Python :: how to find left top width and height on an image using python 
Python :: python code to display a grid of data table 
Python :: how to iclude parcentage in pivot table in pandas 
Python :: Desviacion estandard en pandas 
Python :: Python Global variable and Local variable with same name 
Python :: python match object 
Python :: Get hours, minutes, seconds, and microseconds using time class 
Python :: multiKey dict error 
Python :: NLP text summarization preprocess and tokenization 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =