{"id":45730,"library":"palmerpenguins","title":"palmerpenguins","description":"A Python package providing the Palmer Archipelago (Antarctica) penguin dataset, commonly used for data exploration and visualization. It includes measurements of Adelie, Chinstrap, and Gentoo penguins. Current version is 0.1.6; maintenance is irregular.","status":"active","version":"0.1.6","language":"python","source_language":"en","source_url":"https://github.com/mcnakhaee/palmerpenguins","tags":["dataset","penguins","data science","pandas"],"install":[{"cmd":"pip install palmerpenguins","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Required to load data as DataFrame","package":"pandas","optional":false}],"imports":[{"note":"There is no `load()` function; the correct import is `load_penguins`.","wrong":"import palmerpenguins; palmerpenguins.load()","symbol":"load_penguins","correct":"from palmerpenguins import load_penguins"}],"quickstart":{"code":"from palmerpenguins import load_penguins\n\ndf = load_penguins()\nprint(df.head())","lang":"python","description":"Loads the penguins dataset as a pandas DataFrame."},"warnings":[{"fix":"Use df.dropna() or fill missing values appropriately.","message":"The dataset may contain missing values (NaN) in certain rows, especially for sex. Users must handle NaNs before analysis.","severity":"gotcha","affected_versions":"all"},{"fix":"Always copy the DataFrame if you intend to modify it: df = load_penguins().copy()","message":"The function `load_penguins()` caches the data after the first call; subsequent calls return the same in-memory DataFrame. Modifications to the returned DataFrame will affect subsequent calls.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.1.6':31 'adeli':23 'antarctica':9 'archipelago':8 'chinstrap':24 'common':12 'current':28 'data':15,37 'dataset':11,35 'explor':16 'gentoo':26 'includ':20 'irregular':34 'mainten':32 'measur':21 'packag':4 'palmer':7 'palmerpenguin':1 'panda':39 'penguin':10,27,36 'provid':5 'python':3 'scienc':38 'use':13 'version':29 'visual':18","created_at":"2026-06-07T12:56:26.401367+00:00","updated_at":"2026-06-07T12:56:26.401367+00:00","problems":[{"fix":"Run `pip install palmerpenguins`","cause":"Package not installed.","error":"ModuleNotFoundError: No module named 'palmerpenguins'"},{"fix":"Use `from palmerpenguins import load_penguins`","cause":"Incorrect import pattern; trying `import palmerpenguins` and then `palmerpenguins.load_penguins` should work, but typical mistake is using `load()` instead.","error":"AttributeError: module 'palmerpenguins' has no attribute 'load_penguins'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/mcnakhaee/palmerpenguins","github":"https://github.com/mcnakhaee/palmerpenguins","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["analytics"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}