Open ghost opened 7 years ago
@QuantScientist ArrayFire does not support data frames as of now.
Thanks, How about np array to AF array? The documentation states:
But I get an error while trying this syntax:
@QuantScientist you need to use af.to_array(array_foo)
@QuantScientist Where did you find that documentation in the screenshot?
From "Matrix computations on the GPU with ArrayFire for Python and C/C++" Where did you take the example you quoted?
@QuantScientist That's from a few years ago and outdated. Please use the documentation from here: http://arrayfire.org/arrayfire-python
Where did you take the example you quoted?
From memory :) I wrote the function.
Hi, In my use case, I have data sets in parquet/CSV format which I then read into a pandas dataframe for processing. Before starting to use ArrayFire Python, I would like to know if the following operations are at all supported.
Filtering as follows:
X_df=X_df[X_df['Rx_Octets']> 0.0]
x_neg_df=X_df[X_df['RxUtilization_pct']< 0]
Sorting by a time stamp based index:
X_df = X_df.sort_index(by='ReportTime')
Many thanks,