arrayfire / arrayfire/arrayfire-python
Feature Request: Data Frames
- 主要语言
- Python
- 星标
- 422
- 派生
- 63
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
1. Reading a dataframe, with its headers into an ArrayFire equivalent data structure
2. Reading a CSV, with its headers into an ArrayFire equivalent data structure
3. Writing an ArrayFire equivalent data structure into a dataframe, with its headers
4. Filtering as follows:
```
X_df['Rx_10G_1G'] = X_df.apply(lambda x: findGE(x['NE_OBJECT']), axis=1)
def findGE (str_ne):
if str_ne.find('10GE-') !=-1:
return 10000
if str_ne.find('GE-') !=-1:
return 1000
else:
return 1
```
5. Filtering as follows:
`X_df=X_df[X_df['Rx_Octets']> 0.0]`
`x_neg_df=X_df[X_df['RxUtilization_pct']< 0]`
6. Sorting by a time stamp based index:
`X_df = X_df.sort_index(by='ReportTime') `
Many thanks,
贡献指南
这个仓库没有索引到贡献指南
调研方向
No files or tests are named. Start by reviewing the ArrayFire Python bindings and their existing data-structure support, then compare it with the requested pandas operations: loading and writing headers, filtering, row-wise functions, and timestamp sorting. Done should be a concrete scope for which operations are supported and an agreed implementation plan.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- pandas, python
- 领域
- data
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100