Best of PandasAugust 2024

  1. 1
    Article
    Avatar of medium_jsMedium·2y

    High-Performance Python Data Processing: pandas 2 vs. Polars, a vCPU Perspective

    Polars is emerging as a strong competitor to pandas for Python data analysis, boasting significant performance improvements due to its Rust backend optimized for parallel processing and vectorized operations. This post tests Polars against pandas with varying vCores, finding Polars generally faster, though it encounters some challenges with single vCore setups. While Polars shows great promise, considerations like cost, compatibility, and maturity remain important when evaluating a switch from pandas.

  2. 2
    Article
    Avatar of planetpythonPlanet Python·2y

    Displaying Pandas DataFrames in the Terminal

    Learn how to use the textual-pandas package to display pandas DataFrames directly in your terminal with ease. The guide covers installation using pip and provides sample code to help you quickly get started with creating a Textual application that loads and displays a DataFrame in a table widget.

  3. 3
    Article
    Avatar of kdnuggetsKDnuggets·2y

    Cleaning and Preprocessing Text Data in Pandas for NLP Tasks

    This guide provides a comprehensive step-by-step process for cleaning and preprocessing text data using pandas for NLP tasks. It covers handling missing values, normalizing text, removing noise, tokenizing, removing stopwords, stemming, and converting text into numerical representations, preparing your data for use in language models.

  4. 4
    Article
    Avatar of rpythonReal Python·2y

    Exploring Astrophysics in Python With pandas and Matplotlib – Real Python

    Use Python to explore introductory astrophysics topics with this course. Learn about using pandas for working with dataframes, visualizing information with Matplotlib, and handling scientific units. The course includes 14 lessons, video subtitles, full transcripts, downloadable resources, and Q&A support from Python experts.