系列文章目录
linux系统软件(插件)安装系列
前言
linux的centos系统有时需要装点小插件之类的需要记录好,方便下次安装
一、安装mwget插件
参考资料
目的:使用wget下载文件时十分缓慢 可使用mwget进行加速 其中m代表多线程的意思
1.安装mwget
wget http://jaist.dl.sourceforge.net/project/kmphpfm/mwget/0.1/mwget_0.1.0.orig.tar.bz2
tar -xjvf mwget_0.1.0.orig.tar.bz2
cd mwget_0.1.0.orig
./configure
如果./configure执行错误
如果出现 error: C++ compiler cannot create executables 说明没有安装c++编译器 安装一个c++编译器就可以了
yum install gcc-c++
如果执行./configure 出现 configure: error: Your intltool is too old. You need intltool 0.35.0 or later.
需要安装0.35.0以上的版本
yum install intltool
然后做最后的安装
make
make install
安装完毕后 可以使用mwget下载
的确快点
二、使用步骤
1.引入库
代码如下(示例):
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import warnings
warnings.filterwarnings('ignore')
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
2.读入数据
代码如下(示例):
data = pd.read_csv(
'https://labfile.oss.aliyuncs.com/courses/1283/adult.data.csv')
print(data.head())
该处使用的url网络请求的数据。
总结
提示:这里对文章进行总结:
例如:以上就是今天要讲的内容,本文仅仅简单介绍了pandas的使用,而pandas提供了大量能使我们快速便捷地处理数据的函数和方法。