-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Problem detecting separator (sep=None) with a DataFrame with a single column #17333
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
Comments
@Leobouloc : Thanks for reporting this! A little odd, especially since you somehow drop an "o" from Investigation (and PR) are welcome! |
@gfyoung This seems right behavior. The Here is the example. Inputimport csv
sniffed = csv.Sniffer().sniff('col1')
sniffed.delimiter Output'o' |
@Licht-T : Ah, interesting...this issue is beyond our control then since the sniffing behavior is on Python. Do you mind adding this example as a test to the Python engine? @Leobouloc : We will close this issue after the test is added because the behavior causing this output is outside of our control. Feel free to ping the Python devs about this if you think this is sufficiently bothersome to address. |
As this issue can be resolved by simply adding a test, I would want to add this addition to the release. If not resolved before |
@gfyoung Okay! I will write this test asap. |
Code Sample
returns:
Problem
I would expect the input to be detected as a DataFrame with one column (with no seperator) which is not the case here...
Expected Output
Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: