Setting Decimal Datatype in Sequel Pro - sequelpro

I am new to Sequel Pro.
I am trying to import a csv file that has longitude and latitude coordinates, but when the "CSV Import Field Mapping" window shows up, DECIMAL/FLOAT/DOUBLE is not one of the datatypes I can choose in the pulldown menu. The only numeric datatypes I see are INT and BIGINT.
How do I import a file that has decimal numbers and set it as such in Sequel Pro?
Thanks.

I have the same problem with Sequel Pro 1.1.2. This isn't an ideal solution, but I imported my CSV files with TablePlus, which did the job adequately.
It's a free download. 🤷‍♂
To reproduce the problem, click the "Export Data" link on this baseball website. Then import the downloaded CSV in Sequel Pro, selecting the option to create a new table. You'll (presumably) get the result posted in the images linked below, where DECIMAL/FLOAT/DOUBLE is not offered as an option for decimal fields in the downloaded data.

Related

Issue Importing .xlsx into Oracle SQL Developer

I am trying to export a .xlsx file in to oracle via the import wizard. However, when I select the .xlsx file nothing happens, usually when I import .csv I then specify format etc, but I am just brought back to the home screen. The file is quite small so I don't see why this wouln't work. Does anyone have any advice?
The fastest way is to convert your excel data into csv and import it as usual. Depending on the size of file, version of sql developer, operating system there seems to be some problems with memory (especialy on 64-bit systems with 64-bit jdk) though the file looks small.
Some report says they are succeded to import xls file after increasing the SQL Developer virtual memory limit by adding a line like AddVMOption -Xmx1280M or larger into SQLDeveloper.conf file.
Converting xls to csv is easy, fast an less stressful than messing with config file.

extracting data from pdf and make a list of lists

I need some help extracting and manipulating data from a pdf.
pdf in question below, link: https://www.england.nhs.uk/wp-content/uploads/2018/04/national-tables-5-mgml-v3.pdf
national dose band screenshot
What I want is to create a list of lists, with the items on columns 1 and 3, like this one: oxalirange = ([5.75, 6.24], [6.25, 6.74], [6.75, 7.24],...
I know how to extract the pdf as an excel table via Camelot and pandas, and then what I have been doing is manually compiling the list, so what I'd like to know is how to automate that via python and pandas (or any other python library)
I am happy to be pointed out to the most relevant website so I can find the info myself.
Thanks in advance.
You can uses xlrd library in python to read an excel file here is a link to their documentation, However it will be limited to .xls files only (old excel)
https://xlrd.readthedocs.io/en/latest/
but here is a list of alternative libraries related to excel
https://www.python-excel.org/

Creating math formulas in convert PDF files (where input is website)

I am using MathJax in my website to create math formulas and it's working great.
I need a way to output those formulas into PDF documents generated by my server.
I'm currently using a Windows server and backend is PHP.
I'm using TCPDF to create my PDF files, but I cant find any way to get my math formulas into those PDFs, be cause the math formulas are stored in my database in TeX format.
Is there anyway to convert them to math formulas before I insert them into my document?
At first I tried to use the SVG output format from MathJax and somehow extract that output, save it in my database and use that with TCPDF, but apparently it is not good enough because the SVG output from MathJax isn't only SVG.
I have looked for online tools to convert my TeX formulas into images, but I didn't find any site that provides an API for that. So I looked for a command line tool, but it seems like most (or all of them) are for Linux systems only.
I tried this one, tex2png,
but it didnt work :
BTW, I don't have Latex installed. Do I need to install in order to use tex2png?

Export from .xls to .sql / creating sql queries

Okay guys, I've been having this problem for a few weeks now and I'm getting no-where with it. I have OpenOffice and regular Office softwares. Both produce flawed .csv files, or at least phpMyAdmin can't read neither of these. Yes, I've been trying to change server's settings of uploading, etc. I also tried to contact my web hosting service and they claimed that all the .csv files I've produced are flawed.
Anyway, I'm looking for a way to convert .xls table to SQL. Most of the softwares out there cost money that I don't have. Furthermore, I've seen PHP systems that do just that, so I know this is possible.
No need converted to. sql, you can import directly with phpmyadmin or using tools like navicat for mysql in phpmyadmin go to the option to import, find the file, select the file type (csv or csv loaddata), in part below defines the column separator (if you do not know which opens the file with notepad)
if a very large file using navicat.
Flawed is "defective"?. I assume you have problem with excel, maybe you have defined the same column separator for separating thousands or decimals, use openoffice to open the file

how to export an image into an Excel file without Excel installed (using ASP.Net/VB.Net)

I need to export Chart(image) and grid (tabular) row data into excel file. I can not use automation because Office tools are not installed in my server. I've found a bunch of free/proprietary tools like:
NPOI
MyXLS
ExcelWriter (softartisans)
JetCell (DevTrio)
Aspose.Cells (Aspose)
But I do not know which one is better for my needs. I need to export not only grid row data but also Chart (image), thats why I am thinking about. Wolud you please help me?
Thanks,
Ervin
I purchased Spreadsheet Gear for these purposes and have been extremely happy with them.
Alternatively, the XSLX specification (Excel 2007+) is an open standard, and you can do it in that.