分类 Technology 中的文章
Getting back on track, today’s tutorial by Chunjiang Muker shows how to automatically stream Douyu live on CentOS 7 to achieve 24/7 uninterrupted streaming.……
How to Use Tongji University Public Mirror for CentOS
A few days ago on WeChat, I discovered that Tongji University actually has its own open source software mirror site. Our lab servers are still using Alibaba Cloud’s CentOS 7 mirror. Wouldn’t it be much faster if we switched to the university’s mirror? So how to change CentOS 7 public repo to Tongji University’s mirror?……
Predicting Virmach Black Friday VPS Prices Using sklearn Linear Regression and Alerts
Virmach’s Black Friday machines appear and disappear rapidly. For hosting enthusiasts, constantly checking current VPS prices and deciding whether to buy is troublesome. This article lists Black Friday machine configurations using sklearn and predicts VPS prices with machine learning to alert users if prices are cheap.……
VPS Performance and Network One-Click Test Script
During the recent Black Friday sales, I grabbed a special machine from Virmach, so I thought of testing its performance by running some VPS performance and network tests since the machine looks pretty good.……
Using find and sed to Batch Replace Strings in Text
How to batch replace strings in Linux? At first, I thought about using sed with -r or some iterative method, but found sed doesn’t support iteration parameters. So, I use find to get files and sed to replace strings.……
Manually Create Custom System Service on CentOS7
During Linux system development, sometimes your program might crash or be stopped. To keep it running continuously, adding the program to the service list is a very good practice.……
Solving Expert-Level Sudoku Puzzles Quickly Using Python's Backtracking Algorithm
I often play Sudoku in my leisure time as a form of relaxation. My usual method involves eliminating duplicates and filling in unique numbers first, then proceeding step by step. However, it’s inevitable to guess numbers and adjust based on feedback. So, is there a better algorithm to solve Sudoku puzzles? Here, I will use the backtracking method in Python to solve 9x9 expert-level Sudoku puzzles.……
Reducing /home partition size and increasing /root space in CentOS 8
I recently set up a CentOS 8 virtual machine to experience the latest CentOS system, allocating 127GB of space. Due to actual needs, I found that the /home partition had tens of gigabytes of space.……
Configuring IPv6 Passthrough for Padavan Router to Enable IPv6 for All Internal Hosts
Both China Telecom and CERNET support IPv6, but router configurations often go wrong. This article explains how to set up a K2 router with Padavan firmware to ensure all hosts under the router have IPv6.……
Using requests and multiprocessing for multi-threaded brute-force cracking of default lnmp mysql password
My blog used the lnmp program to build the web environment, but when I needed to use mysql, I found that the lnmp installation log file was missing and the mysql root password was forgotten. I remember that the lnmp was installed by pressing Enter all the way, and the default lnmp password is lnmp.org# plus 5 random numbers, with only 100,000 possibilities. In this case, brute-forcing 100,000 times will definitely find the password.……
Deploying an SSH Honeypot with Docker to Record SSH Login Passwords
Today I logged into the server and found records of SSH brute force attacks, so I thought I might as well record the hacker’s passwords and try logging into his server in reverse.……
10 Tips to Improve Your Python Data Analysis Skills
In programming, even small tips or tools can make a big difference.
For example, a shortcut key or a helpful package might simplify a lot of work and double your efficiency.
Here I’ll share a few small tricks I often use.
1. Use pandas_profiling to Inspect DataFrames
Understanding your data is essential before doing any analysis.
Although df.describe() and df.info() provide basic summaries, they’re limited with large or complex datasets.
The pandas_profiling library offers detailed profiling through profile_report().

Installation
pip install pandas-profiling
# or
conda install -c anaconda pandas-profiling
Usage
It’s very easy to use:
import pandas as pd
import pandas_profiling
df = pd.read_csv("train.csv")
df.profile_report()

You can also export the report to HTML:
html = df.profile_report(title='Titanic Profiling Report')
html.to_file(outputfile="titanic_Profiling_Report.html")

2. Interactive Plotting with cufflinks
Pandas has built-in plotting via .plot(), but it’s not interactive.
If you want interactivity, try the cufflinks package.
最新文章
- Build Your Own TRON Wallet Toolkit (Batch Address Generation / USDT Transfer / Staking & Voting)
- M3U8 to MP4 Tutorial: Download and Convert M3U8 Videos Using Python or Static HTML
- Using Matplotlib's fill_between for Area Filling in Python
- Foundations of Data Science: Common Probability Distributions and Their Explanations
- How to Convert Between YAML and JSON (Complete Python/JavaScript Guide)
- How to Improve Website Indexing Speed with IndexNow
- Automatically Publishing Articles to WordPress Using a Python Script: A Complete Workflow Analysis
- Python: Creating Beautiful Lollipop Charts
- Downloading m3u8 Streaming Media Using Python and Embedding into AMP Webpages
- Managing Long-Running Tasks on Unix-like Systems
标签
1024
adsense
ai
algorithm
amp
background
bioinformatics
bootstrapping
boxes
c-index
cca
cdn
cloudflare
copy
cpu monitoring
cuda
datascience
datavisualization
disown
docker
dovecot
download
economics
fable
faceswap
ffmpeg
flask
folium
google
hls
hugo
indexnow
json
k-means
kaggle
leecode
linux
list
lollipop
m3u8
manacher
matplotlib
mirror
mp3
mp4
multiomics
mutation
mysql
networkx
nginx
normalize
password
pillow
pip
postfix
preprocessing
print
probability
pyecharts
pyqt
python
python3
r
raincloud
requests
roundcube
s-tui
sampling
scale
scrapy
screen
seaborn
seo
sklearn
somaticsignatures
standardize
tensorflow
trade
tron
tronpy
turtle
usdt
wallet
webp
wordcloud
wordpress
yaml
迅雷解析