Data Types for Data Science in Python
Consolidate and extend your knowledge of Python data types such as lists, dictionaries, and tuples, leveraging them to solve Data Science problems.
Comience El Curso Gratis4 Horas15 Videos47 Ejercicios
Crea Tu Cuenta Gratuita
o
Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.¿Entrenar a 2 o más personas?Pruebe DataCamp para empresas
Preferido por estudiantes en miles de empresas
Descripción del curso
Have you got your basic Python programming chops down for Data Science but are yearning for more? Then this is the course for you. Herein, you'll consolidate and practice your knowledge of lists, dictionaries, tuples, sets, and date times. You'll see their relevance in working with lots of real data and how to leverage several of them in concert to solve multistep problems, including an extended case study using Chicago metropolitan area transit data. You'll also learn how to use many of the objects in the Python Collections module, which will allow you to store and manipulate your data for a variety of Data Scientific purposes. After taking this course, you'll be ready to tackle many Data Science challenges Pythonically.
Empresas
¿Entrenar a 2 o más personas?
Obtenga acceso de su equipo a la biblioteca completa de DataCamp, con informes centralizados, tareas, proyectos y másEn las siguientes pistas
Desarrollador Python
Ir a la pista- 1
Fundamental Sequence Data Types
GratuitoThis chapter will introduce you to the fundamental Python data types - lists, sets, and strings. These data containers are critical as they provide the basis for storing and looping over ordered data. To make things interesting, you'll apply what you learn about these types to answer questions about the New York Baby Names dataset!
Introduction and lists50 xpManipulating lists for fun and profit100 xpLooping over lists100 xpMeet the tuples50 xpData type usage50 xpUsing and unpacking tuples100 xpMaking tuples by accident100 xpStrings50 xpFormatted String Literals ("f" strings)100 xpCombining multiple strings100 xpFinding strings in other strings100 xp - 2
Dictionaries - The Root of Python
At the root of all things Python is a dictionary. Herein, you'll learn how to use them to safely handle data that can viewed in a variety of ways to answer even more questions about the New York Baby Names dataset. You'll explore how to loop through data in a dictionary, access nested data, add new data, and come to appreciate all of the wonderful capabilities of Python dictionaries.
Using dictionaries50 xpCreating and looping through dictionaries100 xpSafely finding by key100 xpAltering dictionaries50 xpAdding and extending dictionaries100 xpPopping and deleting from dictionaries100 xpPythonically using dictionaries50 xpWorking with dictionaries more pythonically100 xpChecking dictionaries for data100 xpMixed data types in dictionaries50 xpDealing with nested dictionaries100 xpDealing with nested mixed types100 xp - 3
Numeric Data Types, Booleans, and Sets
Let's take a step away from dictionaries and look at some other common numeric and boolean data types along with sets.
Numeric data types50 xpChoosing when to use integers and floats100 xpPrinting floats100 xpDivision with integers and floats100 xpBooleans - The logical data type50 xpMore than just true and false100 xpComparisons100 xpTruthy, True, Falsey, and False100 xpSets (unordered data with optimized logic operations)50 xpDetermining set differences100 xpFinding all the data and the overlapping data between sets100 xp - 4
Advanced Data Types
Some data types are composites of other data types and give me even more capabilities than a fundamental data type. Let's explore a few complex types from the collections module and data classes.
Counting made easy50 xpUsing Counter on lists100 xpFinding most common elements100 xpDictionaries of unknown structure - Defaultdict50 xpCreating dictionaries of an unknown structure100 xpSafely appending to a key's value list100 xpWhat do you mean I don't have any class? Namedtuple50 xpCreating namedtuples for storing data100 xpLeveraging attributes on namedtuples100 xpDataclasses50 xpCreating a dataclass100 xpUsing dataclasses100 xpWrap-up50 xp
Empresas
¿Entrenar a 2 o más personas?
Obtenga acceso de su equipo a la biblioteca completa de DataCamp, con informes centralizados, tareas, proyectos y másEn las siguientes pistas
Desarrollador Python
Ir a la pistaColaboradores
Requisitos Previos
Python Data Science Toolbox (Part 2)Jason Myers
Ver MasCo-Author of Essential SQLAlchemy and Software Engineer
¿Qué tienen que decir otros alumnos?
Únete a 13 millones de estudiantes y empeza Data Types for Data Science in Python hoy!
Crea Tu Cuenta Gratuita
o
Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.