Issue There is an unknown function , and there are unknown coefficients k, l. Task is to estimate k, l using linear regression, through the data table. -2.0 1.719334581463762 -1.0 1.900158577875515 0.0 2.1 1.0 2.3208589279588603 2.0 2.5649457921363568 Till now mathematically
Continue readingTag: julia
[SOLVED] Julia DataFrame first row of data is being used as column names
Issue I have csv files that don’t have a header: 20150409, 15.47, 15.77, 15.07, 15.15, 31116 So when I make a data frame with the file the first row of data turns into the column names for the data frames.
Continue reading[SOLVED] How to index a dataframe with a user-defined string?
Issue Assumptions: I have a Julia DataFrame with a column titled article_id. Normally, I can declare a DataFrame using some syntax like df = DataFrame(CSV.File(dataFileName; delim = ",")). If I wanted to get the column pertaining to a known attribute,
Continue reading[SOLVED] DataFrames to Database tables
Issue geniouses. I am a newbie in Julia, but have an ambitious. I am trying to a following stream so far, of course it’s an automatic process. read data from csv file to DataFrames Checking the data then cerate DB
Continue reading[SOLVED] How do I replace "NA" with "missing" when using CSV.read in Julia?
Issue I have a csv file with a few NAs sprinkled in. Due to their presence, the columns containing the NAs are classified as strings rather than floats. I just want to read the csv file with NAs in a
Continue reading[SOLVED] Julia: Broadcasting for 2 Dimensional Array based on each element's indices
Issue I have a 1920 by 1080 array canvas with each element acting as a pixel, with default value RGB(0, 0, 0), for an image. What my program (a very simple raytracer) currently does is: Use the index of each
Continue reading[SOLVED] CUDA.jl: ERROR: LoadError: MethodError: no method matching typeof(fillpixel!)(::CuDeviceMatrix{RGB{Float32}, 1})
Issue I had made a very minimal ray tracer in Julia, and was in the process of implementing a faster version that uses CUDA. The full code is too extensive to share, but here is the part that I think
Continue reading[SOLVED] Why is slice faster than view() when constructing a multidimensional array from a vector?
Issue Consider the following Vector: numbers = Int32[1,2,3,4,5,6,7,8,9,10] If I want to create a 2×5 matrix with the result: 1 2 3 4 5 6 7 8 9 10 I can’t use reshape(numbers,2,5) or else I’ll get: 1 3 5
Continue reading[SOLVED] Merging HDF5 files for faster data reading using Julia
Issue I’ve 600 hdf5 files(totaling over 720GBs) from a large N-body simulation and I need to analyze them. Currently, I’m using python to read them sequentially, however, this takes a lot of time (~60hrs). The issue is that these are
Continue reading[SOLVED] Why does passing a large dictionary from python to julia flatten contained multidimensional lists?
Issue Okay so…I’m in the process of creating a python client for a coding game I play. This game is originally created in javascript and employs a json object of game data found at https://adventure.land/data.js. Within this data, each map
Continue reading