antonio-yu
antonio-yu
Are there more convenient methods to use Regex in filtering rows,a.k.a. in function **"query"**. In pandas,regular expressions seem to be limited in function **DataFrame.query** . For example: `df.query('col.str.contains("a")')` doesn't work....
Thanks for reply. Regex is useful in filtering our chinese words by rows,pandas can handle that,not a big problem. Anyway,thanks a lot.
> Regex is useful in filtering our chinese words by rows,pandas can handle that,not a big problem. The function query is just not that convenient since I get used to...
@has2k1 ,hi, Hassan. Here is an example : ``` df = pd.DataFrame({ 'x': [0, 1, 2, 3], 'y': ['zero', 'one', 'two', 'three']}) ``` ``` x y 0 0 zero 1...
Sorry, I wrote the 'regrex' wrongly,I meant 'regex'. 😂 The functions query_all,query_at,query_if are equivalent to functions filter_all, filter_at, filter_if in R, right? They have the same logic. But in plydata,...
Hi , @has2k1 ,how is everything going. Another question about the regex in `select `. ``` #Select columns by regex. df = pd.DataFrame({ 'alpha': list('aaabbb'), 'beta': list('babruq'), 'theta': list('cdecde'), 'x':...
Hello,@machow. Did I miss the function like `bind_rows` of R? I didn't catch it in the [doc](https://siuba.readthedocs.io/en/latest/)
@machow Hello,thanks for replying. I appreciate your great work first. Siuba is being used in my daily work. It's very helpful. Of course, pd.concat can do all the things. Just...
`cross join `does not work in query() functions Codes like this does not work. `query (' select * from df1 cross join df2 where df1. = df2. ')`
@xmc811 xu 你好,再想问一个问题. 就是根据的的示例里, df2生成的地图可以和 plotly进行配合, 生成一些交互动作,df4生成的地图就不行. 请问一下这二者可以配合使用吗