Flashield's Blog

Just For My Daily Diary

Flashield's Blog

Just For My Daily Diary

Year: 2024

04.exercise-grouping-and-sorting【练习:分组与排序】

This notebook is an exercise in the Pandas course. You can reference the tutorial at this link. Introduction 介绍 In these exercises we’ll apply groupwise analysis to our dataset. 在这些练习中,我们将对数据集应用分组分析。 Run the code cell below to load the data before running the exercises. 在运行练习之前,运行下面的代码单元以加载数据。 import pandas as pd reviews = pd.read_csv("../input/wine-reviews/winemag-data-130k-v2.csv", index_col=0) pd.set_option("display.max_rows", 5) from […]

04.course-grouping-and-sorting【分组及排序】

Introduction 介绍 Maps allow us to transform data in a DataFrame or Series one value at a time for an entire column. However, often we want to group our data, and then do something specific to the group the data is in. 映射允许我们将 DataFrame 或 Series 中的数据一次转换一整列的值。 但是,我们通常希望对数据进行分组,然后针对数据所在的组执行特定的操作。 As you’ll learn, we do this with […]

03.exercise-summary-functions-and-maps【练习:摘要函数及映射】

This notebook is an exercise in the Pandas course. You can reference the tutorial at this link. Introduction 介绍 Now you are ready to get a deeper understanding of your data. 现在您已准备好更深入地了解您的数据。 Run the following cell to load your data and some utility functions (including code to check your answers). 运行以下单元格来加载您的数据和一些实用函数(包括用于检查答案的代码)。 import pandas as pd […]

03.course-summary-functions-and-maps【摘要函数及映射】

Introduction 介绍 In the last tutorial, we learned how to select relevant data out of a DataFrame or Series. Plucking the right data out of our data representation is critical to getting work done, as we demonstrated in the exercises. 在上一个教程中,我们学习了如何从 DataFrame 或 Series 中选择相关数据。 正如我们在练习中所演示的那样,从数据表示中提取正确的数据对于完成工作至关重要。 However, the data does not always come out of […]

02.exercise-indexing-selecting-assigning【练习:索引、选择及赋值】

This notebook is an exercise in the Pandas course. You can reference the tutorial at this link. Introduction In this set of exercises we will work with the Wine Reviews dataset. 介绍 在这组练习中,我们将使用葡萄酒评论数据集。 Run the following cell to load your data and some utility functions (including code to check your answers). 运行以下单元格来加载您的数据和一些实用函数(包括用于检查答案的代码)。 import pandas as […]

02.course-indexing-selecting-assigning【索引、选择及赋值】

Introduction 介绍 Selecting specific values of a pandas DataFrame or Series to work on is an implicit step in almost any data operation you’ll run, so one of the first things you need to learn in working with data in Python is how to go about selecting the data points relevant to you quickly and […]

01.exercise-creating-reading-and-writing【练习:创建、读取和写入】

This notebook is an exercise in the Pandas course. You can reference the tutorial at this link. Introduction 介绍 The first step in most data analytics projects is reading the data file. In this exercise, you’ll create Series and DataFrame objects, both by hand and by reading data files. 大多数数据分析项目的第一步是读取数据文件。 在本练习中,您将手动或通过读取数据文件来创建 Series 和 DataFrame 对象。 […]

01.course-creating-reading-and-writing【创建、读取和写入】

Introduction 介绍 In this micro-course, you’ll learn all about pandas, the most popular Python library for data analysis. 在这个微课程中,您将了解有关pandas的所有信息,这是最流行的数据分析Python库。 Along the way, you’ll complete several hands-on exercises with real-world data. We recommend that you work on the exercises while reading the corresponding tutorials. 在此过程中,您将使用真实数据完成一些实践练习。 我们建议您在阅读相应教程的同时做练习。 To start the first exercise, please click here. 要开始第一个练习,请单击此处。 In […]

07.exercise-machine-learning-competitions【练习:机器学习竞赛】

This notebook is an exercise in the Introduction to Machine Learning course. You can reference the tutorial at this link. Introduction 介绍 In this exercise, you will create and submit predictions for a Kaggle competition. You can then improve your model (e.g. by adding features) to improve and see how you stack up to others […]

07.course-machine-learning-competitions【机器学习竞赛】

Machine learning competitions are a great way to improve your data science skills and measure your progress. 机器学习竞赛是提高数据科学技能和衡量进步的好方法。 Your Turn 到你了 Use what you’ve learned in the course to create a submission to a Kaggle competition! 使用您在课程中学到的知识创建提交到 Kaggle 竞赛! In the next exercise, you will create and submit predictions for the House Prices Competition for […]

Scroll to top