You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given above-like data, a simple RangeIndex header would be preferred.
As a heuristic, floats are rarely header representatives. As are values that are equal to next row's values. When six sevenths of values are rare header representatives, those are unlikely.
One can override it all by passing header=None, but the inference does seem to be lacking.
Code Sample, a copy-pastable example if possible
With data.csv.txt:
Problem description
Given above-like data, a simple RangeIndex header would be preferred.
As a heuristic, floats are rarely header representatives. As are values that are equal to next row's values. When six sevenths of values are rare header representatives, those are unlikely.
One can override it all by passing
header=None
, but the inference does seem to be lacking.Expected Output
Output of
pd.show_versions()
1.1.0.dev0+786.gec7734169
The text was updated successfully, but these errors were encountered: