#pandas — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pandas, aggregated by home.social.
-
How are the schools in your country?
The results from PISA 2025 are out, ranking education systems in dozens of countries.
In the latest Bamboo Weekly, we use #Python #Pandas to better understand some of this data.
Level up your data-analysis skills every Wednesday: https://BambooWeekly.com
-
Profile raw CSVs from ETL or APIs: this 282-line pandas script flags outliers via z-score (std thresh) and outputs an HTML report. Intermediate level, ready to run. https://www.valtersit.com/python/pandas-dataframe-profiler-and-outlier-detector/ #python #data #pandas
-
A categorical variable takes on a limited number of values.
The categorical #dataType is useful in the following cases:
- A string variable consisting of only some values. df[["label"]].astype("category") saves memory.
- The lexical order is not the same as the logical order (“one”, “two”, “three”). Sorting and min/max will use the logical order.
- As a signal to other libraries to treat as a category.More: https://pandas.pydata.org/pandas-docs/stable/user_guide/categorical.html