Python Data Science basics with Numpy, Pandas and Matplotlib

所在平台: Udemy

课程主页: https://www.udemy.com/course/python-data-science-basics-with-numpy-pandas-and-matplotlib/

课程评论:没有评论

第一个写评论        关注课程

课程简介

以下是Coursera课程“Python Data Science basics with Numpy, Pandas and Matplotlib”的内容总结: 本课程是Python数据科学入门的必备指南,旨在教授Python的基础数据结构以及NumPy和Pandas等关键数据科学库。 课程首先介绍Python语言及其在数据科学中的应用。接着,指导学员安装和配置Anaconda,并熟悉Jupyter Notebook这一主要的开发环境。 随后,课程深入讲解Python的基础数据类型,包括字符串(赋值、访问、切片、替换、连接、格式化和f-strings)和数字(整数、浮点数、基础与高级运算、运算顺序、增减、四舍五入和类型转换)。 接着,将学习Python的核心数据结构:列表、元组和集合。对于列表,将探索赋值、访问、切片、常用方法、扩展、删除、反转、排序、查找最大/最小值、存在性检查、迭代、切片以及列表与字符串的相互转换。同时也会学习元组的赋值和访问,以及集合的基本操作。 课程之后转向Python字典,涵盖赋值、访问、值更新与删除,以及字典值的迭代。 在掌握了Python基础数据类型和数据结构后,课程将重点介绍NumPy库。学员将学习创建NumPy数组(包括零数组和一维数组)、重塑、将列表转换为数组、数组运算、索引、切片、复制,以及多维数组的创建、重塑、转置和统计运算(如均值、方差)。 接下来,课程将重点讲解Pandas库。首先学习一维带标签数组Series(创建、赋值和访问)。然后深入Pandas的二维带标签数据结构DataFrame,包括将NumPy数组或Pandas Series转换为DataFrame、按列和按行访问数据、删除行和列、获取数据摘要(如最小/最大值)、将Python字典转换为DataFrame。课程还将教授如何处理DataFrame中的缺失数据、数据排序和索引。 此外,课程还将学习如何导入CSV和JSON文件数据到DataFrame,并将DataFrame导出为CSV和JSON文件。还将涵盖DataFrame的连接、合并操作,数据堆叠和透视,以及处理和删除重复值。 课程会讲解Pandas DataFrame的groupby方法,包括分组步骤、聚合操作(包括自定义函数)以及基于数据分箱和分桶的 agrup. 最后,课程还会介绍DataFrame的自定义索引,包括行和列的重索引、重命名,以及值的替换和计数(所有值和唯一值)。还将学习使用NumPy和Pandas进行随机排列,以及如何从Excel文件中加载数据到DataFrame,并进行基于条件的数值选择、lambda函数应用和按列排名。 课程的最后部分将讲解DataFrame的交叉制表(contingency tables),以及使用Matplotlib库进行数据可视化。学员将学习如何生成和调整各种图表(如折线图、散点图等),包括图表类型、参数、标签和标题的设置。还将学习使用直方图对数据进行分组和可视化。 总而言之,本课程是数据科学和机器学习初学者的理想起点,为学员提供使用Python进行数据分析和可视化的全面基础。

课程评论(0条)

课程详情

Welcome to my new course Python Essentials with Pandas and Numpy for Data ScienceIn this course, we will learn the basics of Python Data Structures and the most important Data Science libraries like NumPy and Pandas with step by step examples! The first session will be a theory session in which, we will have an introduction to python, its applications and the libraries.In the next session, we will proceed with installing python in your computer. We will install and configure anaconda which is a platform you can use for quick and easy installation of python and its libraries. We will get ourselves familiar with Jupiter notebook, which is the IDE that we are using throughout this course for python coding.Then we will go ahead with the basic python data types like strings, numbers and its operations. We will deal with different types of ways to assign and access strings, string slicing, replacement, concatenation, formatting and f strings. Dealing with numbers, we will discuss the assignment, accessing and different operations with integers and floats. The operations include basic ones and also advanced ones like exponents. Also we will check the order of operations, increments and decrements, rounding values and type casting.Then we will proceed with basic data structures in python like Lists tuples and set. For lists, we will try different assignment, access and slicing options. Along with popular list methods, we will also see list extension, removal, reversing, sorting, min and max, existence check , list looping, slicing, and also inter-conversion of list and strings.For Tuples also we will do the assignment and access options and the proceed with different options with set in python. After that, we will deal with python dictionaries. Different assignment and access methods. Value update and delete methods and also looping through the values in the dictionary.And after learning all of these basic data types and data structures, its time for us to proceed with the popular libraries for data-science in python. We will start with the NumPy library. We will check different ways to create a new NumPy array, reshaping , transforming list to arrays, zero arrays and one arrays, different array operations, array indexing, slicing, copying. we will also deal with creating and reshaping multi dimensional NumPy arrays, array transpose, and statistical operations like mean variance etc using NumPyLater we will go ahead with the next popular python library called Pandas. At first we will deal with the one dimensional labelled array in pandas called as the series. We will create assign and access the series using different methods.Then will go ahead with the Pandas Data frames, which is a 2-dimensional labelled data structure with columns of potentially different types. We will convert NumPy arrays and also pandas series to data frames. We will try column wise and row wise access options, dropping rows and columns, getting the summary of data frames with methods like min, max etc. Also we will convert a python dictionary into a pandas data frame. In large datasets, its common to have empty or missing data. We will see how we can manage missing data within dataframes. We will see sorting and indexing operations for data frames. Most times, external data will be coming in either a CSV file or a JSON file. We will check how we can import CSV and JSON file data as a dataframe so that we can do the operations and later convert this data frame to either CSV and json objects and write it into the respective files. Also we will see how we can concatenate, join and merge two pandas data frames. Then we will deal with data stacking and pivoting using the data frame and also to deal with duplicate values within the data-frame and to remove them selectively. We can group data within a data-frame using group by methods for pandas data frame. We will check the steps we need to follow for grouping. Similarly we can do aggregation of data in the data-frame using different methods available and also using custom functions. We will also see other grouping techniques like Binning and bucketing based on data in the data-frameAt times we may need to use custom indexing for our dataframe. We will see methods to re-index rows and columns of a dataframe and also rename column indexes and rows. We will also check methods to do collective replacement of values in a dataframe and also to find the count of all or unique values in a dataframe. Then we will proceed with implementing random permutation using both the NumPy and Pandas library and the steps to follow. Since an excelsheet and a dataframe are similar 2d arrays, we will see how we can load values in a dataframe from an excelsheet by parsing it. Then we will do condition based selection of values in a dataframe, also by using lambda functions and also finding rank based on columns.Then we will go ahead with cross Tabulation of our dataframe using contingency tables. The steps we need to proceed with to create the cross tabulation contingency table. After all these operations in the data we have, now its time to visualize the data. We will do exercises in which we can generate graphs and plots. We will be using another popular python library called Matplotlib to generate graphs and plots. We will do tweaking of the grpahs and plots by adjusting the plot types, its parameters, labels, titles etc.Then we will use another visualization option called histogram which can be used to groups numbers into ranges. We will also be trying different options provided by matplotlib library for histogramOverall this course is a perfect starter pack for your long journey ahead with big data and machine learning. You will also be getting an experience certificate after the completion of the course(only if your learning platform supports)So lets start with the lessons. See you soon in the class room.

课程标签

0人关注该课程

主题相关的课程