In this article, I will attempt to explain how you can take your deployment strategy from manual to auto, especially when dealing with AWS-ECS Fargate. The cool part is we are making use of the…
Tag: python
Flask example 1
from flask import Flask, request, render_template
app = Flask(__name__)
@app.route('/')
def my_form():
return render_template('my-form.html')
@app.route('/', methods=['POST'])
def my_form_post():
text = request.form['text']
processed_text = text.upper()
return processed_text
if __name__ == '__main__':
app.run(host='localhost', port=80)
Request registration plate data:
import requests
url = "https://opendata.rdw.nl/resource/m9d7-ebf2.json"
plate = 'GB224X' #str(input("Enter registration number plate..."))
querystring = {}
querystring["kenteken"] = plate
#querystring = {"kenteken":"GB224X"}
headers = {
'User-Agent': "PostmanRuntime/7.20.1",
'Accept': "*/*",
'Cache-Control': "no-cache",
'Postman-Token': "43d07009-34de-4c57-99d9-af76e648cd9b,f85a65e3-2d6f-47df-813e-d4d592abff65",
'Host': "opendata.rdw.nl",
'Accept-Encoding': "gzip, deflate",
'Connection': "keep-alive"
}
def rdw():
response = requests.request("GET", url, headers=headers, params=querystring)
data = response.text
return data
print(rdw())
Merge, join, and concatenate — pandas 0.25.3 documentation
A Complete Exploratory Data Analysis and Visualization for Text Data
Visually representing the content of a text document is one of the most important tasks in the field of text mining. As a data scientist or NLP specialist, not only we explore the content of…
Pandas & Seaborn – A guide to handle & visualize data in Python | Tryolabs Blog
An overview of Pandas, a Python library, which is old but gold and a must-know if you’re attempting to do any work with data in the Python world, and a glance of Seaborn, a Python library for making statistical visualizations. Read more about it in this blog post!
Pandas tips and tricks – Towards Data Science
This post includes some useful tips for how to use Pandas for efficiently preprocessing and feature engineering from large datasets. Pandas has an apply function which let you apply just about any…
An Introduction to Text Mining using Twitter Streaming API and Python // Adil Moujahid // Data Analytics and more
Use News API to fetch news articles – GoTrained Python Tutorials
Video series: Easier data analysis in Python using the pandas library
Learn how to use the pandas library for data analysis, manipulation, and visualization. Each video answers a student question using a real dataset!
LDA on the Texts of Harry Potter – Towards Data Science
In this post, I’ll describe topic modeling with Latent Dirichlet Allocation and compare different algorithms for it, through the lens of Harry Potter.