xtensor-stack / xtensor-python

Python bindings for xtensor
BSD 3-Clause "New" or "Revised" License
345 stars 58 forks source link

is:issue how to sum string type load from csv? and how to convert string column to timestamp? #268

Closed xkungfu closed 2 years ago

xkungfu commented 2 years ago

my csv file column fields: date, username, vol, type

all fields are string fromat.

can't load as double, but when load as string,

I can't sum vol column, and can't select rows by date range.

how to convert string column to int or double?

and how to convert string column to timestamp?

PS: why I can't find any doc and issue about my question? why others didn't have this issue?

thanks!

xkungfu commented 2 years ago

my mistake.this is about xtensor ,not python.