Loading...
Loading...
Best practices for Pandas data manipulation, analysis, and DataFrame operations in Python
npx skill4agent add mindrally/skills pandas-best-practicespd.read_csv()pd.read_excel()pd.read_json()dtypeparse_datesindex_colchunksize.loc[].iloc[]df['col'][0].loc.ilocdf[df['col'] > value].query().pipe().assign().query().groupby().agg().isna().info().fillna().dropna()pd.NA.dtypes.duplicated().describe().astype()pd.to_datetime()pd.to_numeric()errors='coerce'.groupby().agg().transform().pivot_table().melt().pivot().stack().unstack()pd.eval().eval().apply().values.to_numpy().iterrows().copy()DatetimeIndex.resample().shift().diff().rolling().expanding().merge()howvalidate.concat()import pandas as pdsnake_case