Pular para o conteúdo principal
InícioPythonWriting Efficient Code with pandas

Writing Efficient Code with pandas

Learn efficient techniques in pandas to optimize your Python code.

Comece O Curso Gratuitamente
4 horas14 vídeos45 exercícios
19.990 aprendizesTrophyDeclaração de Realização

Crie sua conta gratuita

GoogleLinkedInFacebook

ou

Ao continuar, você aceita nossos Termos de Uso, nossa Política de Privacidade e que seus dados são armazenados nos EUA.
GroupTreinar 2 ou mais pessoas?Experimente o DataCamp For Business

Amado por alunos de milhares de empresas


Descrição do Curso

The ability to efficiently work with big datasets and extract valuable information is an indispensable tool for every aspiring data scientist. When working with a small amount of data, we often don’t realize how slow code execution can be. This course will build on your knowledge of Python and the pandas library and introduce you to efficient built-in pandas functions to perform tasks faster. Pandas’ built-in functions allow you to tackle the simplest tasks, like targeting specific entries and features from the data, to the most complex tasks, like applying functions on groups of entries, much faster than Python's usual methods. By the end of this course, you will be able to apply a function to data based on a feature value, iterate through big datasets rapidly, and manipulate data belonging to different groups efficiently. You will apply these methods on a variety of real-world datasets, such as poker hands or restaurant tips.
Para Empresas

GroupTreinar 2 ou mais pessoas?

Obtenha acesso à biblioteca completa do DataCamp, com relatórios, atribuições, projetos e muito mais centralizados
Experimente O DataCamp for BusinessPara uma solução sob medida , agende uma demonstração.
  1. 1

    Selecting columns and rows efficiently

    Gratuito

    This chapter will give you an overview of why efficient code matters and selecting specific and random rows and columns efficiently.

    Reproduzir Capítulo Agora
    The need for efficient coding I
    50 xp
    What does time.time() measure?
    50 xp
    Measuring time I
    100 xp
    Measuring time II
    100 xp
    Locate rows: .iloc[] and .loc[]
    50 xp
    Row selection: loc[] vs iloc[]
    100 xp
    Column selection: .iloc[] vs by name
    100 xp
    Select random rows
    50 xp
    Random row selection
    100 xp
    Random column selection
    100 xp
Para Empresas

GroupTreinar 2 ou mais pessoas?

Obtenha acesso à biblioteca completa do DataCamp, com relatórios, atribuições, projetos e muito mais centralizados

conjuntos de dados

PokerPopular Baby NamesRestaurant

colaboradores

Collaborator's avatar
Hillary Green-Lerman
Collaborator's avatar
Hadrien Lacroix
Leonidas Souliotis HeadshotLeonidas Souliotis

PhD @ University of Warwick

Ver Mais

O que os outros alunos têm a dizer?

Junte-se a mais de 14 milhões de alunos e comece Writing Efficient Code with pandas hoje mesmo!

Crie sua conta gratuita

GoogleLinkedInFacebook

ou

Ao continuar, você aceita nossos Termos de Uso, nossa Política de Privacidade e que seus dados são armazenados nos EUA.