How to save data in Sanskrit language to Excel in Python - python-2.7

I want to save the data from the following page into an Excel sheet using Python. Can anyone please tell me which encoding should I use so that the data is saved in correct format?
http://dsalsrv02.uchicago.edu/cgi-bin/philologic/getobject.pl?c.0:5.apte

Related

Export data from GBQ into CSV with specific encoding

Im using GBQ, I want to export the results of a query into CSV file.
The data is larger than 20M lines so Im using this option :
In my query results I have some text in french, that is being saved in bad encoding to CSV.
Is there a way to define the encoding on Saving step in GBQ ?
Thank you
You can write simple Python script (or another language that made you feel comfortable) to query and save the result by using Python code. So you can use any encoding you want to save your result to CSV file.

how to convert pdf file to Excel file using Django

I am trying to convert pdf file to Excel using Django, please anyone can help me how to convert pdf to excel in format way. I am trying, but the format does not work properly and also how to creating a download link for excel file.
It is possible to convert pdf to xlxs file in format way in Django ..?
please help how to do.
Django is a web framework, so i suppose your question was that how you can do that in Python. You can use this python library to convert the pdf to excel or CSV
https://pdftables.com/blog/pdf-to-excel-with-python

How to make graphs in Django (using data from Excel)

What would be the most efficient way to grab data from Excel/Google Sheets using Python(2.7)/Django and then transform that data into beautiful graphs, charts etc. just like in this mockup?
Best regards,
Daviddep
Use the google docs api/sdk to read the sheet, or save them as .csv.
Read the csv, convert them to json.
Send the json to a javascript library like d3.js to create beautiful graphs
http://d3js.org/
http://datamaps.github.io/

Reading the cells of an excel sheet in c++

In one of my program, I'm suppose to parse an excel sheet using C++ programming. I'm not suppose to use any third party tool. So, please let me know the code to parse excel sheet and read rows and columns of an selected excel sheet. Thanks in advance.
In order to read excel files you need some external tool like MS - Office Library. Why don't you export excel to CSV (Comma Seperated File) File->Save as->CSV(Comma Delimited).
Then you can read it just like normal txt file. You can open and edit just like worksheet in MS-Excel.
You can COM to access Excel; for an example, see http://www.wilmott.com/messageview.cfm?catid=10&threadid=26137 (from this question)
However to will probably be easier to use C++/CLI as a wrapper and access COM from .NET.

how can i read datasets in Weka?

I want to use some of the datasets available at the website of the Weka to perform some
experiments with Neural Networks.
What do I have to do to read the data?
I downloaded the datasets and they were saved as .arff.txt so I deleted the extension of .txt to have only .arff. So I used this file as an ipnut but an error occurs.
Which is the right way to read data?
Do I have to write code?
Please help me.
Thank you
I'm using Weka 3.6.6 and coc81.arff opens just fine. You are using Weka 3.7.x, which is the development branch of Weka. I suggest that you download 3.6.6 or 3.6.7 (the latest stable release) and try to open the file again.
There is also another simple throw...
open your dataset file in excel in my case MS Excel2010, format fields intype.
and save as 'csv',
then reload that csv file in the weka explorer and save on the local drive as arff format.
may be this help.