September 2023 Summaries
9 posts from Hex
Filter
Month:
Year:
Post Summaries
Back to Blog
Univariate analysis is a fundamental step in statistical analysis, focusing on understanding individual variables within a dataset. It involves techniques such as calculating measures of central tendency (mean, median, mode), variability (standard deviation, variance, range), and visualizing data distributions using histograms or bar plots. Outlier identification is also crucial for univariate analysis. This initial exploration helps to build a solid foundation for further multivariate analyses, modeling, and exploratory data analysis. Univariate analysis provides insights into the distribution, central tendency, and spread of each variable, which are essential for validating assumptions, identifying missing values, and ensuring the reliability of more complex models.
Sep 29, 2023
1,911 words in the original blog post.
Hex recently held an AMA session with Snowflake about Snowpark for Python, focusing on Feature Engineering and Model Training for AI and ML. Key points from the live event include how to initiate a Snowpark instance in Hex, importing packages, benefits of using Hex over Jupyter, integrating Hex/Snowpark into CI/CD workflows, converting existing Jupyter notebooks to use this functionality, when and why to push compute demand down to Snowflake, differences between PySpark and Snowpark, leveraging warehouses for ML purposes, feature engineering offered by Snowpark, Hex Magic vs. Snowpark, and model versioning, testing, and hyperparameter tuning in Snowflake ML.
Sep 29, 2023
1,344 words in the original blog post.
The computational engine for notebooks is called a kernel. It decouples the evaluation from the read and print process, allowing users to continue writing and executing code while other code is executing. This parallel execution with kernels increases interactivity and speeds up the execution of code. Jupyter kernel architecture consists of several components that work together to execute code, manage the execution environment, and communicate with the frontend. The main benefits of using a kernel include improved UX, more frontends and backends, isolation, and better performance. Understanding how kernels work can help analysts anticipate potential issues, optimize their analyses, and leverage advanced functionalities to unlock the full potential of their data storytelling.
Sep 26, 2023
2,064 words in the original blog post.
This article provides a detailed guide to data exploration in Jupyter with Python using the popular Titanic Survivor dataset. It covers setting up a Jupyter Notebook, installing Pandas, and various data exploration methods such as head(), tail(), sample(), info(), describe(), index mechanism, conditional filtering, value counts, groupby(), plotting, handling NaN values, joining datasets, dropping duplicates, converting datatypes, creating pivot tables, and crosstabulation. The article emphasizes the power of Jupyter for data exploration in machine learning and data science, allowing users to easily analyze and visualize their data with Python and Pandas.
Sep 23, 2023
3,065 words in the original blog post.
Hex, a data science and analytics platform, has partnered with Snowflake to create seamless workflow features for professionals. The company's CTO and co-founder, Caitlin, discussed the various features developed in collaboration with Snowflake at a recent talk. One of the key issues addressed by Hex is the reproducibility problem associated with traditional notebooks. To tackle this issue, Hex automatically parses code and builds a directed acyclic graph (DAG) to ensure that every time a cell is run, all cells it depends upon are run in the same order. This DAG structure has been instrumental in developing several features, including AI-assisted queries, intelligent prompt engineering, and a polyglot workflow allowing users to move between SQL and Python. Hex also leverages Snowpark Container Services (SPCS) for enhanced data security and governance, enabling all of its operations within the user's Snowflake account.
Sep 21, 2023
1,381 words in the original blog post.
The text discusses the use of AI tools like Hex, LangChain, and OpenAI to create a natural language processing (NLP) chatbot that can query databases. The author initially built a simple bot using ChatGPT but faced limitations due to its knowledge cutoff. Upon discovering LangChain, they were able to improve the chatbot's efficiency with just 20 lines of code. They then used Hex to build the front end of the app, allowing users to interact directly with the data and inform their questions. The author has since enhanced the bot's accuracy by providing more context and user selections. Looking forward, they plan to incorporate memory and chat-like features while addressing rate limit issues related to OpenAI tokens.
Sep 20, 2023
740 words in the original blog post.
Sharing Jupyter notebooks can be done for different reasons with various technical and non-technical audiences. The method of sharing depends on the purpose, such as quick feedback, collaboration, or presenting findings. When sharing with other analysts, downloading the .ipynb file is usually sufficient, but when sharing with non-technical audiences, converting the notebook to static formats like PDF, HTML, Markdown, and LaTeX can be more appropriate. Tools such as NbViewer, GitHub, Binder, JupyterHub, Google Colab, and Voila can also aid in sharing Jupyter notebooks. It's crucial to consider data security and accessibility when sharing notebooks, and using version control tools like GitHub or Bitbucket can help maintain the integrity of your work.
Sep 19, 2023
2,487 words in the original blog post.
This article provides a comprehensive guide on how to create charts using Matplotlib, Plotly, and Seaborn in Jupyter Notebooks. It covers the installation process for these libraries, loading datasets into Jupyter Notebooks, creating various types of plots such as line plots, scatter plots, bar plots, histograms, subplots, geographical visualizations, and more. The article also discusses how to create interactive visualizations using Plotly and visually appealing plots with Seaborn. It concludes by offering tips on selecting appropriate visualization types, designing clear visualizations, optimizing visualizations for different contexts, handling large datasets, sharing Jupyter notebooks, and choosing the right data visualization library.
Sep 08, 2023
3,101 words in the original blog post.
Algolia, like many companies, faced challenges with their quarterly review process due to manual and time-consuming tasks. To transform this into an automated workflow, they utilized Fivetran for data retrieval from Salesforce, dbt for data transformation, Hex for querying the data warehouse, and Google Sheets for visualization. This automation significantly reduced the time spent on these tasks, improved accuracy, and allowed the team to focus on more strategic projects. The success of this initiative has prompted Algolia to extend automation to other teams with routine reporting needs.
Sep 01, 2023
583 words in the original blog post.