Skip to content

Commit

Permalink
fixed deprecation warning from pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
Iximiel committed Dec 17, 2024
1 parent 3cc05d9 commit b932623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plumed.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ def read_as_pandas(file_or_path,enable_constants=True,enable_conversion=True,ker

# read the rest of the file
# notice that if chunksize was provided the result will be an iterable object
df=pd.read_csv(file_or_path, delim_whitespace=True, comment="#", header=None,names=columns,
df=pd.read_csv(file_or_path, sep='\s+', comment="#", header=None,names=columns,
usecols=usecols,skiprows=skiprows,nrows=nrows,chunksize=chunksize,index_col=index_col)

if chunksize is None:
Expand Down

0 comments on commit b932623

Please sign in to comment.