Data dodania Pytanie
2017-08-08 18:08 Rails 4 ActiveAdmin CSV export yields "You are not authorized to perform this action." in browser »
I am using "out of the box" installations of Devise gem and ActiveAdmin gem in my Rails 4 project. I have an ActiveAdmin model that works fine as an i...
(1) odpowiedzi
2017-08-06 15:08 Ruby - CSV Import split data into different tables »
I'm trying to import a csv file with a rake task. The csv looks like this model,brand,type,engine,price,doors Corsa,Opel,cupe,1100,14500,2 Corsa,Opel...
(1) odpowiedzi
2017-07-27 18:07 Rails 4: Parsing large csv file »
I have a very large csv file that I need to read, parse, and then present the user with the data so they can make adjustments / verify that things loo...
(1) odpowiedzi
2017-07-13 13:07 Csv file content replace use regex »
I've the CSV file and contents has below "Jakins, Ann-Margaret",Ms.,Ann-Margaret, ,Jakins,Ms. Ann-Margaret Jakins,Individual,Nurse_Practitioner,Femal...
(2) odpowiedzi
2017-07-13 09:07 Ignore html the data in html data-* attribute while exporting to csv jQuery datatables »
I am using jQuery data-tables export buttons to export data as CSV from my tables. The table has a title column in which each title is diplayed as a ...
(0) odpowiedzi
2017-07-07 20:07 HttpResponseMessage Content Disposition "attachment" is not added in Api Controller »
I have a controller with some of the stringbuilder/input details omitted: public class SampleController : ApiController { [HttpGet] [CustomRo...
(0) odpowiedzi
2017-06-30 21:06 How to keep JSON : in CSV output instead of =>? »
A json field ui_layout in postgres table needs to be exported to CSV in Rails 4.2. The ui_layout looks like it in postgres table: {"val":"test","val1...
(1) odpowiedzi
2017-06-29 02:06 In Rails, how can I submit a form and request a csv formatted page? »
I have a few parts of the solution, but I'm having trouble bringing them together. I have a page with two text fields (in a form_tag) in which I'll ...
(2) odpowiedzi
2017-06-27 07:06 Is there a way to force ASP.NET Web API to return data in csv feed format? »
Currently Using ASP.NET web API I'm able to return data in JSON format. Now I'm trying to return data in csv (feed) format. Is it possible to force...
(3) odpowiedzi
2017-06-21 22:06 Python: Saving list in a file without quotes? »
I'm working with a couple text files using csv module and I encountered something strange that I can't understand. My code so far: import csv with o...
(4) odpowiedzi
2017-06-09 14:06 M1: How can i create custom order by CSV »
I need to create a manual order which consists 100's products, one by one process takes a long time, how can I import my custom order by CSV. ...
(0) odpowiedzi
2017-06-09 00:06 How can I import CSV UTF-8 file with Chinese characters into MySQL? »
I've tried importing the following CSV file with UTF-8 encoding into MySQL, but the Chinese characters are not correctly populating. I also changed th...
(2) odpowiedzi
2017-06-07 11:06 How to create a loop to extract data from a .csv file »
I face this issue and can't seem to find a fix except with Scipy or Numpy, both of which I don't wanna use in this case. From a .csv file, I want to ...
(0) odpowiedzi
2017-06-01 15:06 Downloading csv file using Play Framework? »
I want to add to my app a simple button that on click will call an Action that will create a csv file from two lists I have and download it to the use...
(2) odpowiedzi
2017-05-27 01:05 What is the fastest way to combine 100 CSV files with headers into one? »
What is the fastest way to combine 100 CSV files with headers into one with the following setup: The total size of files is 200 MB. (The size is red...
(1) odpowiedzi
2017-05-24 18:05 Is there a Python csv file writer that can match data.table's fwrite speed? »
I want to match R's data.table::fwrite csv file writing speed in Python. Let's check some timings. First R... library(data.table) nRow=5e6 nCol=30 ...
(0) odpowiedzi
2017-05-23 16:05 Is there a way to write 'good' queries against the SQL-CSV-Antipattern? »
TL;DR at the bottom. I have inherited a rather poorly-designed table which holds a log of requests against a third-party webservice. This table conta...
(1) odpowiedzi
2017-05-18 12:05 Datatables - Add Row / Columns on export »
I am looking at adding some data into the exporting csv from a datatables export button that isn't in the initial table on the view. The table as hea...
(0) odpowiedzi
2017-05-16 13:05 Datatables warning when cell contains comma »
I have a feature on a web application that allows a user to upload a csv to the server. Upon selecting the csv file to upload, I open the file using j...
(1) odpowiedzi
2017-05-09 21:05 How to read from a specified file which is in a folder below without knowing the absolute path »
So I have my project directory: Here I read ArticleFile: function _getDataFromFile() { var jsonArray = csvjson.toObject(fs.readFileSync('Ar...
(2) odpowiedzi
2017-05-07 17:05 Why does a loaded CSV set the value of object to a string »
So I have this code: function _getAllArticles() { var result = []; result.push(new Article('./BatmanEpicWallpaper.jpg','Batman','A poster of ...
(0) odpowiedzi
2017-05-06 23:05 How to save a csv File using fast-csv that every attribute is in OWN column »
So I tried this example: var csv = require("fast-csv"); var fs = require("fs"); var csvStream = csv.createWriteStream({ headers: true }), ...
(0) odpowiedzi
2017-05-06 17:05 How to save in a csv file so that every attribute is in a new column using "json2csv" »
So I use "Json2csv" and I tried an example: var fs = require('fs'); var json2csv = require('json2csv'); var fields = ['car', 'price', 'col...
(1) odpowiedzi
2017-05-06 00:05 Creating a Pandas DataFrame from a CSV file with JSON in it »
I have a Postgres database where two columns are jsonb data. I used this command to get a CSV copy of the database: \copy (SELECT * FROM articles) TO ...
(1) odpowiedzi
2017-05-04 11:05 Update MySQL from CSV using JAVA »
my problem is as follows: The CSV file is downloaded at given intervals from server. File has to be parsed (there are unnecessary spaces that have t...
(2) odpowiedzi
2017-05-04 05:05 Split text to csv by other delimiter but maintaining the comma in each column »
I have a txt file containing pipe | delimited values, but unfortunately, I have encountered some errors , the csv DictReader assumed that the comma in...
(1) odpowiedzi
2017-05-03 10:05 Rebase csv file by merging a base csv file with another new csv file »
I am currently working with two csv files, base.csv and another csv file, output_20170503.csv which will be produced everyday, so my aim here is to re...
(2) odpowiedzi
2017-04-26 06:04 Missing headers in csv output file (python) »
I am trying to output a csv file, but the problem is, the headers are gone, and I tried looking at my code line by line but I don't know what's wrong ...
(2) odpowiedzi
2017-04-14 10:04 MySQL Invalid UTF8 character string when importing csv table »
I want to import an .csv file into MySQL Database by: load data local infile 'C:\\Users\\t_lichtenberger\\Desktop\\tblEnvironmentLog.csv' into table ...
(2) odpowiedzi
2017-04-10 11:04 Javascript stopping an event »
Is it possible at all to stop an event and force it to end? string rows // Correctly formatted csv string. csv .fromString(rows, { headers: false ...
(2) odpowiedzi
2017-04-02 04:04 Export to CSV not working when page called from a master page using a cfinclude »
<cffunction name="QueryToCSV" access="public" returntype="string" output="false" hint="I take a query and convert it to a CSV string."> .... &lt...
(1) odpowiedzi
2017-03-23 23:03 Foreign Key Not Setting On CSV Upload -- Django »
When importing csv to django the foreign keys are not setting. May code may be wrong. I am able to import the foreign keys but I am not able set them ...
(1) odpowiedzi
2017-03-07 03:03 SyntaxError: Non-ASCII character '\xfe' in file error happen »
SyntaxError: Non-ASCII character '\xfe' in file error happen. I wanna read tsv file,and change into csv file.When I run this app,this error happen. I...
(1) odpowiedzi
2017-03-05 22:03 Sending Files in Angular 2 »
Below is my code and i am basically trying to send csv and xlxs files using my app. Although, everything looks right to me, i still cannot process and...
(0) odpowiedzi
2017-02-27 20:02 Importing CSV data into Rails app, using something other then the association "id" »
I am trying to import a few CSV files into my rails app. I learned and managed to import tables into Models without association. Now i have managed ...
(2) odpowiedzi