Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
read_csv converters "Buffer dtyle mismatch" #546
Am trying to convert a string column to seconds in a dataframe. It looks like there is some sort of off by one error.
Here's my csv
Here's my code
Here's my error:
Thanks for the fix. I really appreciate this and am using the features I'm asking for the help do some reporting with pandas.
WRT adding a column, yes, you have mechanisms to apply some math operators to create new columns, but I want a function to create an arbitrary new column
I would prefer
I imagine I'm coming from a different background/use case. I've done time series stuff before for BI but not finance. So I feel like I'm trying to do SQL-like operations on dataframes. There I groupby, sort, create columns and tweak columns, but I normally iterate over rows.