Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 904fbd9

Browse files
committed
MNT: Remove infer_datetime from pandas read_csv method
The argument will be removed in the future and doesn't affect anything anymore.
1 parent 2de4f86 commit 904fbd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bezpy/mag/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def read_iaga(fname, return_xyzf=True, return_header=False):
6363

6464
df = pd.read_csv(fname, header=header_records["header_length"],
6565
delim_whitespace=True,
66-
parse_dates=[[0, 1]], infer_datetime_format=True,
66+
parse_dates=[[0, 1]],
6767
index_col=0, usecols=[0, 1, 3, 4, 5, 6],
6868
na_values=[99999.90, 99999.0, 88888.80, 88888.00],
6969
names=["Date", "Time"] + column_names)

0 commit comments

Comments
 (0)