I think Mohan means the header row like CSV  which indicate the column name 
and when he say the second row he means the the row that the real data 
start which is the second row .

correct me here Mohan if I am wrong ?

https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html

بتاريخ الأحد، 18 أغسطس، 2019 5:55:59 م UTC+3، كتب Mike Bayer:
>
> I've reached out on Twitter to see if I can attract more Pandas users to 
> this list as this is a pandas-specific issue for which I don't have the 
> expertise to answer.
>
>
> On Sun, Aug 18, 2019, at 5:24 AM, Mohan Raj wrote:
>
> Hi,
>
> I used "sqlalchemy" in my python code for inserting a Dataframe from 
> Pandas(0.25.0) to Microsoft SQL Server 2014.
>
> While inserting the data, all the columns are considered as varchar type, 
> instead there are integer values in the column. I need to consider the data 
> type based on second row of Dataframe instead of first row.
>
> Help me to resolve the above mentioned query.
>
> Regards
>
>
> --
> SQLAlchemy - 
> The Python SQL Toolkit and Object Relational Mapper
>  
> http://www.sqlalchemy.org/
>  
> To post example code, please provide an MCVE: Minimal, Complete, and 
> Verifiable Example. See http://stackoverflow.com/help/mcve for a full 
> description.
> --- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sqlal...@googlegroups.com <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sqlalchemy/34b6ab86-ab03-4655-8c9f-629738834cba%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/sqlalchemy/34b6ab86-ab03-4655-8c9f-629738834cba%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/ae7022e6-80ff-4f2c-96c5-0ae4e84bffd4%40googlegroups.com.

Reply via email to