Skip to Content
Python数据处理
book

Python数据处理

by Jacqueline Kazil, Katharine Jarmul
July 2017
Intermediate to advanced
398 pages
11h 54m
Chinese
Posts & Telecom Press
Content preview from Python数据处理
12
1
下载到
Downloads
文件夹中,你需要在终端中进入这个文件夹。在
Mac
上有一种简单的方
法,按住
Command
键(
Cmd
),然后把
Downloads
文件夹拖入终端中。另一种方法是输入
一些简单的
bash
命令(附录
C
中有对
bash
更全面的介绍)。首先在终端中输入以下命令:
cd ~/Downloads
这条命令将计算机的目录切换到主文件夹下的
Downloads
子文件夹。为了检查你是否位于
Downloads
文件夹下,在终端中输入以下命令:
pwd
这条命令可以在终端中显示你的当前工作目录,即你现在位于的文件夹。它的输出应该是
类似下面这样的内容:
/Users/your_name/Downloads
如果输出没问题,你只需用这个命令就可以运行该文件:
sudo python get-pip.py
由于你运行的是
sudo
命令(你正在用特殊权限运行该命令,这样才可以在受限区域安装软
件包),系统会提示你输入密码。你应该可以看到安装软件包的一系列提示信息。
Windows
上可能已经安装了
pip
Windows
Python
安装包自带
pip
)。
检查是否安装了
pip
,你可以在
cmd
工具中输入
pip install ipython
。如
果系统报错的话,去下载
pip
安装脚本,用
chdir C:\Users\
YOUR_NAME
\
Downloads
命令将目录切换到
Downloads
文件夹(把
YOUR_NAME
换成你计算
机主目录的名字)。然后,你应该可以输入
python get-pip.py
来运行下载的
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

数据科学中的实用统计学(第2版)

数据科学中的实用统计学(第2版)

Peter Bruce, Andrew Bruce, Peter Gedeck
Java持续交付

Java持续交付

Daniel Bryant, Abraham Marín-Pérez
解密金融数据

解密金融数据

Justin Pauley

Publisher Resources

ISBN: 9787115459190