Python Tutorial
Python is a verstile programming language that has gained a lot of attention and popularity. Using Python, you do things like develop web applications, desktop applications, task automation, artificial intelligence (AI), big data, data analytics, machine learning (ML), and many other things.
Python is really becoming as the leader in data science and data analytics. With so many open source libraries to choose from (Pandas, scikit-learn, NumPy, Matplotlib), learning data analysis in Python just got so much easier.
Source Code: Add, Copy, Delete selected row on a Table Widget (QTableWidget) | PyQt5 Tutorial
Buy Me a Coffee? Your support is much appreciated! Source Code: import sys from PyQt5.QtWidgets import QApplication, QWidget, \ QHBoxLayout, QVBoxLayout from PyQt5.QtCore import Qt, QPoint class MyApp(QWidget): def __init__(self): super().__init__()...
Source Code: Getting Started With Azure Speech Translation API In Python
Buy Me a Coffee? Your support is much appreciated! Source Code: import json import azure.cognitiveservices.speech as speech API_KEY = '<API_KEY>' ENDPOINT = '<ENDPOINT>' media_file_path = '<audio file path>' translation_config =...
Source Code: Plot Grouped Bar Graph With Python and Pandas
Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: import pandas as pd import matplotlib.pyplot as plt df = pd.read_csv('data.csv') df = df.pivot(index='Video_Title',...
Source Code: Web Scraping Per-market and After Hour Screeners Data For Stock Analysis with Python
Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: import datetime import requests from bs4 import BeautifulSoup import pandas as pd # url =...
Source Code: Append Records From Multiple CSV Files To Master CSV File With pandas
Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: import pandas as pd csv_list = ['ibm.csv', 'mo.csv', 'mtb.csv'] df_master = pd.read_csv('master.csv') for csv_file in csv_list: df...
Source Code: Check Duplicate Records Before Append New Records | pandas Tutorial
Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: import pandas as pd df = pd.DataFrame({ 'Name': ['Joe', 'Mary'], 'Age': [29, 30] }) records = [['Mary', 30], ['Steve', 31]] for...
Source Code: How To Combine Icon And Label | PyQt6 Tutorial
Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: import sys from PyQt6.QtWidgets import QApplication, QWidget, QLabel, QTextEdit, \ QVBoxLayout, QHBoxLayout from PyQt6.QtCore import Qt...
Source Code: How to move items between QListWidgets | PyQt5 Tutorial
Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: import sys from PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QListWidget, QGridLayout, QHBoxLayout, QVBoxLayout, QSizePolicy...
Source Code: Simulate shape object animation using QTimer class | PyQt5 Tutorial
Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: import sys from PyQt5.QtWidgets import QApplication, QWidget, QHBoxLayout, QVBoxLayout from PyQt5.QtCore import Qt, QTimer, QRect from...
Source Code: Navigate Records using QSqlDatabase and QSqlQuery classes in PyQt5
Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: import os from PyQt5.QtSql import QSqlDatabase, QSqlQuery """ Connect to a database system """ # Specify the driver type database =...
