How to get all data in CSV by using Python : I am not getting all in the csv. getting ...

Data:

                         0         ...                             5
    0         Project Name         ...                 Other Details
    1   SKV S ANANDA VILAS         ...            SKV S ANANDA VILAS
    2         Project Name         ...                 Other Details
    3   SKV S ANANDA VILAS         ...            SKV S ANANDA VILAS
    4         Project Name         ...                 Other Details
    5   SKV S ANANDA VILAS         ...            SKV S ANANDA VILAS
    6         Project Name         ...                 Other Details
    7   SKV S ANANDA VILAS         ...            SKV S ANANDA VILAS
    8         Project Name         ...                 Other Details
    9   SKV S ANANDA VILAS         ...            SKV S ANANDA VILAS
    10        Project Name         ...                 Other Details
    11  SKV S ANANDA VILAS         ...           SKV S ANANDAM VILAS


**Edit**


    import pandas as pd
    import requests
    import json, csv
    from bs4 import BeautifulSoup
    from tabulate import tabulate
    from pandas.io.json import json_normalize
    
    res = requests.get("http://rerait.telangana.gov.in/PrintPreview/PrintPreview/UHJvamVjdElEPTQmRGl2aXNpb249MSZVc2VySUQ9MjAyODcmUm9sZUlEPTEmQXBwSUQ9NSZBY3Rpb249U0VBUkNIJkNoYXJhY3RlckQ9MjImRXh0QXBwSUQ9")
    soup = BeautifulSoup(res.content,'html.parser')
    
    table_data = []
    
    for i in range(len(soup.find_all('table'))):
    
        table = soup.find_all('table')[i] 
        df = pd.read_html(str(table))
        
        #print (df)
        with open('D:/out_table.csv', 'a') as outcsv:   
        #configure writer to write standard csv file
            writer = csv.writer(outcsv, delimiter=',', quotechar='|', quoting=csv.QUOTE_MINIMAL, lineterminator='\n')
            for item in df:
                for i in range(len(item)):
                    print (item[0: i])
                    writer.writerow(item[0: i])

By using above code, able to write csv file but I am getting some data ... ... ... please suggest How to write all data as same in web or in propare format.

Or Tried

    for i in range(len(soup.find_all('table'))):
    
        table = soup.find_all('table')[i] 
        df = pd.read_html(str(table))
        table_data.append(df)
    
    my_df = pd.DataFrame(table_data)
    for i in range(len(my_df)):
        my_df.loc[[i]].to_csv('D:/my_csv.csv',
            index=True,
            header=True,
            mode='a')

How to get all data in proper format?
