-
Notifications
You must be signed in to change notification settings - Fork 0
API Reference
This API Reference provides detailed information on the classes, methods, and functions available in the Panars library.
The DataFrame class is the primary data structure in Panars, similar to Pandas' DataFrame.
pa.DataFrame(data: Dict[str, List])Creates a new DataFrame from a dictionary of lists.
DataFrame.head(n: int = 5) -> DataFrameReturns the first n rows of the DataFrame.
DataFrame.info() -> NonePrints a concise summary of the DataFrame, including column names, non-null counts, and data types.
DataFrame.describe() -> DataFrameGenerates descriptive statistics of the DataFrame's numerical columns.
DataFrame.groupby(by: str) -> GroupByGroups the DataFrame by the specified column.
DataFrame.sort_values(by: str, ascending: bool = True) -> DataFrameSorts the DataFrame by the specified column.
DataFrame[column_name: str] -> Series
DataFrame[boolean_mask: List[bool]] -> DataFrameSelects data from the DataFrame using column names or boolean masks.
The Series class represents a single column of a DataFrame.
(Add Series-specific methods here as they become available in the Panars library)
The GroupBy object is created by the groupby() method of a DataFrame.
GroupBy.agg(agg_dict: Dict[str, str]) -> DataFrameApplies aggregation functions to the grouped data.
(Add any standalone utility functions provided by Panars here)
This API Reference is a work in progress and will be updated as the Panars library evolves. For the most up-to-date information, please refer to the official Panars documentation or source code.