Top 3 New Features in Pandas 1.0

栏目: IT技术 · 发布时间: 4年前

Top 3 New Features in Pandas 1.0

A couple of new time and nerve saving features

It’s been a couple of weeks now since Pandas version 1.0 was released and it’s brought some new exciting features, some of them still being experimental though.

Top 3 New Features in Pandas 1.0

The main idea behind this article is to briefly explore them, and also show you how to upgrade to Pandas 1.0 because you’re probably still running version 0.25. So without much ado, let’s see how to do so.

Upgrade from 0.25 to 1.0

If I were to open up Jupyter Notebook and check out the current version of Pandas library, I’d get this:

Top 3 New Features in Pandas 1.0

I’m on version 0.25.1, so to upgrade I’d need to execute the following command (can also be done through Jupyter, no need to open up a terminal or command prompt):

If you, however, get some permission errors , run the command line as an administrator, or prefix the command with sudo if you’re on Linux. Now let’s see if everything went as expected:

Top 3 New Features in Pandas 1.0

Keep in mind that you might not see ‘1.0.1’, depending on when you’re reading the article, it might be an even newer version. Now when that’s done, let’s briefly discuss the dataset I’ll use to make demonstrations, and also where to get it.

Dataset used

I’ve decided to use the MT Cars dataset , a dataset familiar to any R user, great for some basic data manipulation. It can be download from this link , or you can just copy the link and read it directly through Pandas:

Top 3 New Features in Pandas 1.0

Okay, now when that’s out of the way, I can begin with the article!


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

这就是搜索引擎

这就是搜索引擎

张俊林 / 电子工业出版社 / 2012-1-1 / 45.00元

搜索引擎作为互联网发展中至关重要的一种应用,已经成为互联网各个领域的制高点,其重要性不言而喻。搜索引擎领域也是互联网应用中不多见的以核心技术作为其命脉的领域,搜索引擎各个子系统是如何设计的?这成为广大技术人员和搜索引擎优化人员密切关注的内容。 本书的最大特点是内容新颖全面而又通俗易懂。对于实际搜索引擎所涉及的各种核心技术都有全面细致的介绍,除了作为搜索系统核心的网络爬虫、索引系统、排序系统、......一起来看看 《这就是搜索引擎》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具