pandas vs daru

Kozo Nishida edited this page Aug 11, 2016 · 18 revisions

see also

Types

pandas daru
pandas.Series Daru::Vector
pandas.DataFrame Daru::DataFrame
pandas.Categorical

Querying, Filtering, Sampling

pandas daru
df.shape df.shape
df.head df.head
df.iloc[:9]
df.query('col1 == 1 & col2 == 1')

Methods

pandas daru
pd.read_csv() Daru::DataFrame.from_csv
DataFrame.head() DataFrame#head
DataFrame.index DataFrame#index
DataFrame.columns DataFrame#vectors
DataFrame.values
DataFrame.T DataFrame#transpose
DataFrame.describe() DataFrame#describe
DataFrame.sort_index()
Series.value_counts() Daru::Vector#value_counts
Series.isnull()
Index.isin

API usage

Creating a DataFrame

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.