Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: np.loadtxt returns object instead of array #395

Open
aa452948257 opened this issue Apr 20, 2023 · 0 comments
Open

ENH: np.loadtxt returns object instead of array #395

aa452948257 opened this issue Apr 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@aa452948257
Copy link
Contributor

Describe the bug

np.loadtxt returns Object but array.

To Reproduce

To help us to reproduce this bug, please provide information below:

import numpy as np
import xorbits
a = np.random.rand(5, 5)
np.savetxt('a.txt', a, fmt='%0.8f')
np_file = xorbits.numpy.loadtxt('a.txt')
print(np_file)

The output:
Object <op=RemoteFunction, key=d40f45e7cf5fa8e85376c3c14d7f6fd3_0>

Expected behavior

A clear and concise description of what you expected to happen.

[[0.70548155 0.92921275 0.57759417 0.28360752 0.25908658]
 [0.04388419 0.38940381 0.86247433 0.84509193 0.98603179]
 [0.1442014  0.15766898 0.12828645 0.75014494 0.28737759]
 [0.62665658 0.72180532 0.71792222 0.34275616 0.81105527]
 [0.05881193 0.97348195 0.12146659 0.51580312 0.68174111]]
@aa452948257 aa452948257 added the enhancement New feature or request label Apr 20, 2023
@XprobeBot XprobeBot added this to the v0.3.0 milestone Apr 20, 2023
@UranusSeven UranusSeven changed the title ENH: np.loadtxt returns Object but array. ENH: np.loadtxt returns object instead of array Apr 20, 2023
@XprobeBot XprobeBot modified the milestones: v0.3.0, v0.3.1 May 6, 2023
@XprobeBot XprobeBot modified the milestones: v0.3.1, v0.3.2 May 17, 2023
@XprobeBot XprobeBot modified the milestones: v0.3.2, v0.4.1 Jul 1, 2023
@XprobeBot XprobeBot modified the milestones: v0.4.1, v0.4.3 Jul 11, 2023
@XprobeBot XprobeBot modified the milestones: v0.4.3, v0.5.1 Jul 28, 2023
@XprobeBot XprobeBot modified the milestones: v0.5.1, v0.5.2 Aug 14, 2023
@XprobeBot XprobeBot modified the milestones: v0.5.2, v0.6.0, v0.6.1 Sep 8, 2023
@XprobeBot XprobeBot modified the milestones: v0.6.1, v0.6.2, v0.6.3 Sep 15, 2023
@XprobeBot XprobeBot modified the milestones: v0.6.3, v0.7.0 Sep 25, 2023
@XprobeBot XprobeBot modified the milestones: v0.7.0, v0.7.1 Oct 23, 2023
@XprobeBot XprobeBot modified the milestones: v0.7.1, v0.7.2 Nov 21, 2023
@XprobeBot XprobeBot removed this from the v0.7.2 milestone Jan 5, 2024
@XprobeBot XprobeBot added this to the v0.7.3 milestone Jan 5, 2024
@XprobeBot XprobeBot modified the milestones: v0.7.3, v0.7.4 Aug 22, 2024
@luweizheng luweizheng removed this from the v0.7.4 milestone Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants