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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the issue tracker is NOT the place for general support. For
discussions about development, questions about usage, or any general questions,
contact us on https://discuss.xorbits.io/.
Reproduce:
import xorbits.pandas as pd
df = pd.DataFrame({'a': [20200101], "b": ["test"]})
def t(x):
# should be startswith
return x[x.str.starts_with("te")].count()
print(df.groupby("a", as_index=False)["b"].apply(t))
The example above raises:
TypeError: Cannot determine dtypes by calculating with enumerate data, please specify it as arguments
However, this is just a typo error in udf t. The error message is unclear.
The text was updated successfully, but these errors were encountered:
Note that the issue tracker is NOT the place for general support. For
discussions about development, questions about usage, or any general questions,
contact us on https://discuss.xorbits.io/.
Reproduce:
The example above raises:
However, this is just a typo error in udf
t
. The error message is unclear.The text was updated successfully, but these errors were encountered: