- Hands-On Exploratory Data Analysis with Python
- Suresh Kumar Mukhiya Usman Ahmed
- 66字
- 2021-06-24 16:44:56
Removing NaN values
Next, we are going to remove NaN values from the field.
We can do this as follows:
dfs = dfs[dfs['date'].notna()]
Next, it is good to save the preprocessed file into a separate CSV file in case we need it again. We can save the dataframe into a separate CSV file as follows:
dfs.to_csv('gmail.csv')
Great! Having done that, let's do some descriptive statistics.
推薦閱讀
- INSTANT Mock Testing with PowerMock
- 精通JavaScript+jQuery:100%動態網頁設計密碼
- ReSharper Essentials
- Game Programming Using Qt Beginner's Guide
- MySQL 8從入門到精通(視頻教學版)
- Mastering Spring MVC 4
- Amazon S3 Cookbook
- Instant Ext.NET Application Development
- Linux C編程:一站式學習
- ElasticSearch Cookbook(Second Edition)
- Java零基礎實戰
- .NET 4.5 Parallel Extensions Cookbook
- Hadoop 2.X HDFS源碼剖析
- Advanced UFT 12 for Test Engineers Cookbook
- 分布式數據庫原理、架構與實踐