Skip to content

Commit e4ab209

Browse files
committed
Parsing csv for Pandas version < 2.0.0
1.4.3 was too restrictive, all versions below 2.0.0 should use the first code part with date_parser
1 parent 0e68afa commit e4ab209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SkinokBacktraderUI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def loadData(self, dataPath, datetimeFormat, separator):
107107

108108
# Python contains
109109
if not dataPath in self.dataframes:
110-
if pd.__version__=='1.4.3':
110+
if pd.__version__<'2.0.0':
111111
self.dataframes[fileName] = pd.read_csv(dataPath,
112112
sep=separator,
113113
parse_dates=[0],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy