Posts

Showing posts with the label Python Programming

Time Serious Forecast using Python

Image
Introduction:          Time series are one of the most common things encountered in daily life. For example Financial prices, weather , home energy usage, and even weight are all of data that can be collected at regular intervals. In the series collect the data points at constant interval time which leads the data have the dependency with the time . The Time series has the sudden increase or decrease in certain intervals(Month, day, hour ...). Which will implies the non stationary in the data modelling. The sudden increase we may called like trends , seasonality and so on. Data Analysis in Time series: In python, we have the great library Pandas to handle the time series objects, particularly the datatime64[ns] class which stores time information and allows us to perform some operations really fast. In the below example we are going to use the AirPassanger.csv data set. Initially, we have to load the necessary libraries import pandas as pd i...

Send Email using Python through Gmail, Sendgrid and Elasticmail

Image
We have the lot of use case to send the email through the code.  For that purpose, I had post this to send email / notification through the python smtp . Description      We have to send the email using the python code. That will use the third party smtp library to send email. For this we have to get the smtp configuration from the email service provider .  Based on the configuration we can send the normal email or attached one. But this will help us to send the marketing email / notification and other purpose. Pre-requesting  Have to install python on your machine. And have to install  smtplib library with the help of  pip or other tool. Have to get the gmail smtp information Use cases : Now a days with out email notification none of the application delivered.  That would help to boom the sales or reach out the right customer. Sample code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26...