Por Que Criar Gráficos via Programação em Python se Podemos Usar Power BI, Tableau ou Looker Studio?

Data Science Academy
13 Mar 202306:39

Summary

TLDRThis chapter focuses on data visualization using Netpoint and Plotly, two excellent libraries for creating charts in Python. It discusses the benefits of programmatic chart creation over low-code tools like Power BI and Tableau, highlighting flexibility and customization. The video emphasizes the importance of learning to program charts in Python for seamless integration within data analysis workflows, offering a complete environment for data scientists. It also touches on the advantages and disadvantages of both approaches, guiding viewers to choose the right tool based on their needs.

Takeaways

  • 📊 The chapter aims to introduce data visualization using Netpoint and Plotly libraries, which are excellent for creating charts in Python.
  • 🤔 The discussion addresses the question of why one would program charts in Python when tools like Power BI or Tableau are available for quick visualization.
  • 🔧 Low-code tools like Power BI offer limited flexibility and are best suited for creating basic charts quickly without extensive programming.
  • 🚫 Proprietary tools do not allow users to access or modify the source code, limiting customization options.
  • 💡 Python and R are suggested for their extensive customization capabilities, especially for those who need to create highly specific or customized visualizations.
  • 📈 Plotly and ggplot2 are highlighted as powerful, customizable, and free libraries for data visualization in Python and R, respectively.
  • 🛠️ The ability to modify the source code in Python and R allows for creating high-quality, customizable charts that can even be integrated into commercial solutions.
  • 🔬 Python and R are widely used in data science and provide a comprehensive environment for data analysis, including the creation of visualizations.
  • 🧩 It's beneficial to create visualizations within the same environment used for data analysis to maintain workflow continuity and efficiency.
  • ⚖️ Each tool has its advantages and disadvantages, and the choice depends on the user's needs, whether it's for quick, basic chart creation or in-depth, customized visualizations.

Q & A

  • What is the main objective of the chapter discussed in the transcript?

    -The main objective of the chapter is to introduce data visualization using Netpoint and Plotly libraries, which are excellent for creating charts in Python.

  • Why is it necessary to create charts via programming in Python when there are tools like Power BI or Tableau?

    -While tools like Power BI and Tableau are great for creating basic charts quickly, they offer limited flexibility and customization. Programming in Python allows for greater customization and control over the charts.

  • What does the term 'low code' refer to in the context of the transcript?

    -In the context of the transcript, 'low code' refers to tools that require minimal programming effort, allowing users to create charts with just a few clicks.

  • What are some of the limitations of proprietary tools like Power BI and Tableau mentioned in the transcript?

    -Proprietary tools like Power BI and Tableau have limitations such as lack of access to the source code, inability to modify the tool's standards, and limited customization options.

  • Why is it beneficial to learn programming for creating charts in Python?

    -Learning to program charts in Python is beneficial because it allows for complete customization and control over the charts, and it integrates well with data analysis workflows, allowing for a seamless process from data manipulation to visualization.

  • What are some advantages of using programming languages like Python and R for data visualization?

    -Python and R offer free and highly customizable libraries for data visualization, such as ggplot2 for R, which allows for high-quality statistical charts with extensive customization options.

  • How does the transcript differentiate between using low code tools and programming for data visualization?

    -The transcript differentiates by stating that low code tools are suitable for quick, basic chart creation with less flexibility, while programming offers extensive customization and control, which is essential for complex or specific data visualization needs.

  • What is the significance of being able to modify the source code when creating custom visualizations?

    -The ability to modify the source code is significant as it allows for tailoring the visualization to specific requirements, including the integration of these visualizations into commercial solutions like analytical applications or predictive data applications.

  • What are some scenarios where using programming for data visualization might be preferred over low code tools?

    -Programming for data visualization is preferred when working on a data analysis project where customization and specific visualizations are needed, or when the workflow requires seamless integration of data manipulation and visualization within the same environment.

  • Why might someone choose to use a low code tool like Power BI over programming for data visualization?

    -Someone might choose a low code tool like Power BI for its ease of use and quick chart creation, which is ideal for users who need to resolve business problems with basic charts without the need for extensive customization.

  • How does the transcript suggest one should approach the choice between low code tools and programming for data visualization?

    -The transcript suggests that the choice between low code tools and programming for data visualization should be based on individual needs, with low code tools being suitable for quick, basic chart creation and programming being more appropriate for complex, customized visualizations within a data analysis project.

Outlines

00:00

📊 Introduction to Data Visualization Libraries in Python

This paragraph introduces the topic of the chapter, which is about data visualization using Netpoint and Plotly libraries in Python. The speaker discusses the benefits of programming graphs in Python over using tools like Power BI or Tableau, emphasizing the need for customization and flexibility. The comparison is made between low-code tools, which are easy to use but offer limited flexibility, and programming libraries that allow for extensive customization. The speaker also mentions that they will provide a detailed discussion on why programming graphs in Python is valuable, especially for those who require specific customizations that cannot be achieved with proprietary tools.

05:01

🔧 The Advantages of Programming Graphs in Python

The second paragraph delves into the practical advantages of using Python for data visualization. The speaker explains that while tools like Power BI and Tableau are excellent for quickly creating basic graphs, they lack the flexibility needed for more complex or customized visualizations. The paragraph highlights the importance of being able to work within a single environment, such as Jupyter Notebook, for data analysis and visualization. It also touches on the limitations of proprietary tools, which do not allow access to the source code, thus restricting the ability to make significant customizations. The speaker concludes by encouraging the audience to learn programming for graphs in Python, as it offers a comprehensive environment for data analysis and visualization without the need to switch between different tools.

Mindmap

Keywords

💡Data Visualization

Data visualization refers to the graphical representation of information and data. It is a crucial aspect of data analysis that helps in understanding complex data sets by presenting them in a more digestible visual format. In the context of the video, the speaker discusses the use of Netpoint and Lib as libraries for creating data visualizations in Python, emphasizing the importance of visualizing data to better understand and communicate insights derived from data analysis.

💡Netpoint

Netpoint is a library mentioned in the script for creating data visualizations. It is part of the discussion around programming-based data visualization tools in Python. The speaker highlights Netpoint as one of the options for those who require more customization and flexibility in their data visualizations compared to low-code or no-code tools.

💡Lib

Lib, short for 'library', is a collection of pre-written code that can be used in a program. In the script, 'Lib' is used in conjunction with Netpoint to refer to the library for data visualization in Python. The speaker discusses the benefits of using such libraries for creating customized and flexible data visualizations.

💡Python

Python is a high-level programming language known for its readability and versatility. It is widely used in data analysis, machine learning, and web development. The video script mentions Python as the programming language in which Netpoint and Lib are used for data visualization, indicating its role in enabling detailed and customized graphical representations of data.

💡Low-code Tools

Low-code tools are software applications that allow users to create applications with minimal hand-coding. They are designed to accelerate the development process by providing pre-built components and a visual interface. The script contrasts low-code tools like Power BI and Tableau with programming-based visualization, noting that while they offer speed and ease of use, they may lack the flexibility and customization available through programming.

💡Power BI

Power BI is a business analytics service by Microsoft that enables users to visualize data, create reports, and gain business insights. In the video script, Power BI is mentioned as an example of a low-code tool that is excellent for quickly creating basic charts but may not offer the same level of customization as programming-based visualizations.

💡Tableau

Tableau is a data visualization software that allows users to create a variety of interactive and static data visualizations. The script refers to Tableau as a tool that was previously known as 'Google Data Studio' and is now recognized as a powerful but proprietary tool for data visualization, similar to Power BI.

💡Customization

Customization in the context of data visualization refers to the ability to tailor the appearance and functionality of visualizations to specific needs or preferences. The speaker argues for the importance of customization when using programming languages like Python for data visualization, as it allows for unique and specific representations that may not be possible with low-code or no-code tools.

💡ggplot2

ggplot2 is a plotting system for the R programming language, based on the grammar of graphics. It is mentioned in the script as an excellent library for creating high-quality statistical graphics that are fully customizable and flexible. The speaker compares ggplot2 with Python libraries, emphasizing the importance of learning programming for data visualization to maintain consistency within the data analysis environment.

💡Proprietary Tools

Proprietary tools are software applications that are owned by a company and are subject to its licensing terms. The script discusses proprietary tools like Power BI and Tableau, noting that while they are powerful, they do not allow users to modify the source code or customize the tool beyond certain limits, which contrasts with the flexibility offered by programming-based visualization.

💡Data Analysis

Data analysis is the process of inspecting, cleaning, transforming, and modeling data to extract useful information, draw conclusions, and support decision-making. The video script emphasizes the importance of data analysis in the context of using programming languages for visualization. It suggests that learning to create visualizations within the same environment used for data analysis (like Python or R) can streamline the workflow and enhance the analytical process.

Highlights

The chapter aims to introduce data visualization with Netpoint and Lib that Ciborne, two excellent libraries for creating charts in Python.

Netpoint and Lib that Ciborne require programming to build charts.

Why program charts in Python when tools like Power BI or Tableau exist?

Low-code tools like Power BI and Tableau offer quick chart creation but limited flexibility.

Power BI and Tableau are proprietary tools with no access to the source code for customization.

Python and R offer free and fully customizable libraries like ggplot2 for high-quality statistical charts.

ggplot2 allows for extensive customization and high-resolution statistical graphics.

Python and R are widely used in data science, providing a complete environment for data analysis including chart creation.

It's efficient to create charts within the same environment used for data analysis, such as Jupyter Notebook.

Programming charts in Python is beneficial for in-depth data analysis within a single workflow.

Customization is key when creating specific charts for data analysis projects.

Low-code tools are suitable for quick, basic chart creation without extensive programming.

For in-depth projects requiring specific chart customization, programming is more effective than using low-code tools.

The chapter will cover programming charts using Netpoint, Lib, and Ciborne in Python.

The choice between low-code tools and programming depends on the needs and the specific requirements of the project.

Each tool has its advantages and disadvantages, and the decision should be made based on the project's requirements.

The chapter will provide practical examples of creating charts programmatically with Netpoint, Lib, and Ciborne.

Transcripts

play00:00

[Música]

play00:05

o objetivo deste Capítulo é trazer para

play00:08

você visualização de dados com Netpoint

play00:11

Lib que Ciborne que são duas excelentes

play00:14

bibliotecas para construção de gráficos

play00:17

em linguagem Impacto mas para usar o

play00:20

Netpoint libido ciborn nós temos que

play00:23

programar ou seja construir os gráficos

play00:26

via programação de computadores

play00:28

exatamente que eu vou mostrar inclusive

play00:30

ao longo deste Capítulo mas naturalmente

play00:32

surge a pergunta por que criar gráficos

play00:36

via programação em Python se podemos

play00:39

usar ferramentas como powerby Pablo ou

play00:43

Lucas Studio que antes chamava Google

play00:46

deita Studio essa é uma boa pergunta eu

play00:49

acho que vale a pena discutir um pouco

play00:51

sobre isso vou trazer aqui um ponto de

play00:53

vista para você para que você entenda um

play00:55

pouco a razão de realmente programar

play00:57

gráficos usando linguagem impacta vamos

play01:00

lá um ferramentas code como Power

play01:05

estúdio são ótimas alternativas para

play01:07

criar gráficos básicos rapidamente mas

play01:10

oferecem pouca flexibilidade se você

play01:13

nunca ouviu falar no termo louco de

play01:16

fazer uma tradução livre para o

play01:18

português Seria algo como pouco código

play01:21

ou seja são ferramentas que não requerem

play01:24

um grande esforço de programação de fato

play01:29

você consegue criar gráficos com alguns

play01:32

poucos cliques talvez em segundos eu

play01:35

ensino as três ferramentas aqui na dsa

play01:36

tem um curso gratuito de Power by você

play01:39

encontra aqui mesmo em nosso portal e

play01:41

tem ainda mais dois cursos de powerbiais

play01:43

um na formação analista de dados E aí no

play01:45

curso avançado tablou ensinado na

play01:47

formação cientista de dados e o lucro

play01:49

era estúdio é um módulo bônus do

play01:51

primeiro custo da formação na lista de

play01:53

dados eu conheço bem as ferramentas e

play01:56

posso dizer para você são ferramentas

play01:58

excepcionais excelentes desde que o seu

play02:01

objetivo seja construir gráficos básicos

play02:04

rapidamente

play02:05

esse seu objetivo tá ótimo use as

play02:08

ferramentas Resolva o seu problema de

play02:09

negócio e siga em frente se por outro

play02:12

lado você tiver que customizar a

play02:14

construção do gráfico precisar de um

play02:16

pouco de flexibilidade tem um item

play02:19

específico que você precisa colocar no

play02:20

gráfico essas ferramentas talvez não

play02:23

ofereçam essa possibilidade 2 por

play02:27

Studio são ferramentas proprietárias e

play02:30

não é possível modificar o padrão que

play02:33

eles oferecem essas ferramentas são

play02:35

todas proprietárias Então você não tem

play02:38

acesso ao código fonte você não consegue

play02:40

modificar a ferramenta não dá para mudar

play02:42

o padrão que eles oferecem então a

play02:45

equipe que desenvolve o Power Eles

play02:47

colocaram lá aqueles gráficos que eles

play02:50

acham que são interessantes ponto final

play02:52

é possível até você conseguir gráficos

play02:55

customizados conforme mas tem que fazer

play02:58

sabe o quê programar isso mesmo Tem que

play03:01

programar usando a linguagem de

play03:02

programação específica para construir

play03:04

gráficos cu por exemplo

play03:07

ainda assim você pode trabalhar com a

play03:10

versão básica totalmente gratuita com a

play03:12

Power vier desktop que eu ensino no

play03:13

curso gratuito aqui na dsa mas você não

play03:16

tem acesso ao código fonte não dá para

play03:18

modificar o produto não dá para

play03:19

customizar por conta do fato de serem

play03:22

ferramentas proprietárias 3 soluções ou

play03:26

pensor se como Bad Pot livre vamos

play03:28

estudar agora com linguagem Python e o

play03:31

gglot 2 que é uma excelente biblioteca

play03:33

visual para linguagem R São gratuitas e

play03:37

totalmente customizáveis e flexíveis eu

play03:40

ensino sobre o plot 2 no primeiro custo

play03:42

da formação cientista de dados uma

play03:44

biblioteca incrível que permite criar

play03:47

gráficos estatísticos de altíssima

play03:49

qualidade com o nível de customização

play03:51

que você não encontra nem no Netflix

play03:56

é totalmente gratuita ou pensar se você

play03:59

pode modificar o código fonte pode

play04:02

customizar o gráfico da forma que você

play04:04

quiser você tem uma flexibilidade como é

play04:07

que pode também você cria excelentes

play04:09

gráficos de alta qualidade com alta

play04:11

resolução gráficos estatísticos gráficos

play04:14

mais genéricos e se precisar ainda pode

play04:17

modificar o código fonte por exemplo até

play04:19

mesmo incluindo por exemplo essas

play04:21

ferramentas em soluções comerciais que

play04:23

você pode vender como aplicação

play04:24

analítica uma aplicação preditiva

play04:27

consciência de dados Machine e assim por

play04:29

diante quatro linguagens Python e r são

play04:33

amplamente usadas em ciência de dados e

play04:36

oferece um ambiente completo incluindo a

play04:38

criação de gráficos Imagine que você

play04:40

começou um projeto de análise de dados

play04:42

Ok carregou os dados usando linguagem

play04:45

parto notebook por exemplo começou a

play04:47

explorar os dados começou a manipular

play04:49

fez limpeza dos dados para processamento

play04:52

E aí você quer olhar para os dados de

play04:54

forma visual rapidamente só que ele é um

play04:56

gráfico para ver se organização que você

play04:58

fez está de acordo ou não o que que você

play05:01

vai fazer você vai saindo junto notebook

play05:03

vai levar os dados para essa ferramenta

play05:06

só para criar um gráfico porque não

play05:08

criar o gráfico durante o seu processo

play05:09

de análise no próprio ambiente de

play05:11

trabalho por exemplo junto notebook faz

play05:14

sentido para você por isso que é

play05:16

importante aprender a programação de

play05:18

gráficos em Python Porque durante o seu

play05:20

processo de análise você vai estar ali

play05:22

no meio de um trabalho de uma atividade

play05:24

não faz sentido sair daquele ambiente só

play05:27

para ir para outra ferramenta criar o

play05:28

gráfico depois voltar você pode fazer

play05:30

tudo isso em um único ambiente por

play05:32

exemplo usar na linguagem Python até

play05:34

mesmo linguagem r o fato é toda e

play05:37

qualquer ferramenta na terra tem

play05:39

vantagens e desvantagens Ok Cabe a você

play05:43

escolher de acordo com as suas

play05:44

necessidades você quer criar um gráfico

play05:46

rápido porém será um pouco mais básico

play05:48

isso atende o que você precisa utilize

play05:51

ferramentas locode economizar tempo

play05:53

rapidamente você cria o gráfico

play05:54

resolvido o problema por outro lado está

play05:57

no meio de um projeto Tem que criar um

play05:59

gráfico para poder analisar ali uma

play06:01

atividade que você fez nos dados você

play06:03

pode naquele momento construir um

play06:05

gráfico que nem vai requerer assim tanta

play06:06

programação dá para criar gráficos com

play06:08

uma linha de código se por acaso você

play06:11

precisa customizar um gráfico colocá-lo

play06:13

de maneira bem específica para suas

play06:15

necessidades programar faz mais sentido

play06:17

que usar uma ferramenta low code como

play06:20

qualquer coisa na vida tem vantagens e

play06:22

desvantagens ao longo deste Capítulo vou

play06:25

trazer para você a construção de

play06:27

gráficos via programação usando Netpoint

play06:31

Lib e Ciborne na linguagem Python e já

play06:34

vamos começar Me acompanhe no próximo

play06:36

vídeo até lá

Rate This

5.0 / 5 (0 votes)

相关标签
Data VisualizationPython LibrariesNetpointLibCiboreCustom ChartsProgrammingData AnalysisLow Code ToolsPower BITableau
您是否需要英文摘要?