Questions tagged [field-names]

83 questions
2
votes
1 answer

Equivalent of Fieldnames function for cells

As the title says, just wondering if there is a function that works as fieldnames (http://www.mathworks.co.uk/help/matlab/ref/fieldnames.html) does, but for cells. So if I have something like: a = imread('redsquare.bmp'); b =…
Mark Hughes
  • 245
  • 2
  • 5
  • 11
2
votes
1 answer

how to change the verbose_name or use original field name in django-taggit tag field

I am using django-taggit for one of my projects and as per the documentation I did the following in the model that i want to use tags / keywords in. models.py from taggit.managers import TaggableManager class SomeModel(models.Model): title =…
Amyth
  • 32,527
  • 26
  • 93
  • 135
1
vote
1 answer

How to get Polarion workitem field names(not values) of perticular work items using java SOAP API..?

Polarion is a tool it has Workitems,fields they provide API for accessing it. prersently i can access workitem field values But i want to access Defined Field names Using java SOAP API. i tried with trackerservice from webserviceFactory but i didn't…
Raju
  • 11
  • 3
1
vote
1 answer

What is the stubname for fields with multiple separators?

I'm trying to use pd.wide_to_long and I'm a little bit stumped on using the stubnames parameter: https://pandas.pydata.org/docs/reference/api/pandas.wide_to_long.html Here are the field names: Expected behavior: the transformation of a wide format…
1
vote
1 answer

field started with % in struct in Specman

I am new to Specman, just don't know what the "%" prefix of a field in struct mean? for example, the codes below. struct packet_s like any_sequence_item { %addr : uint(bits: 2); %data : list of byte; ... }; What's the difference if we…
Chad Tsai
  • 11
  • 1
1
vote
1 answer

Duplicate field names in different tables make the `SELECT` query complex in mybatis

I have some tables which all have a field named created_at, that's a timestamp to represent when the row inserted. Now I use mybatis 3 as the persistence layer, I found it a little boring when I query something with join. Look at the simple sql I…
Freewind
  • 193,756
  • 157
  • 432
  • 708
1
vote
1 answer

compare values with fieldnames before writing it in csv file using python

I'm using this code to compare value with their affiliated fieldnames before i store it in the csv-file to check the right column, because everytime when i reboot my machine the order of sensors in the dictionary will be changed autamatically. this…
AhmyOhlin
  • 519
  • 4
  • 8
  • 18
1
vote
2 answers

CakePHP form - remove month field name

I'm setting up a Stripe payment form, so I need to remove the names of my month and year fields so they aren't sent to my server. The following code though, still gives the field a name of '[month]' and if the text of the array's name variable were…
thekthuser
  • 706
  • 1
  • 12
  • 28
1
vote
0 answers

CouchDB - MyCouch fieldname is wrong after Transmitting

I have a "little" problem with my program here. I am using MyCouch(C# Lib for CouchDB). I am transmitting a Record(see below) to a local DB. Everything works fine, but the first letter from fieldnames gets lowered all time and messes up the whole…
1
vote
1 answer

"Expected a field name" error in Keil uVision 4 (error#134)

I've been developing an embedded project for NXP LPC1774 Arm CortexM3 MCU.For the same project, I have coded many different versions and all worked fine. Today I added two new pin definitions where I choose them to be output pins for GPIO ports with…
Günay Turan
  • 21
  • 1
  • 4
1
vote
1 answer

Rails -> do something with "updated_at" like "set_primary_key" for the id

have a legacy table with a field "LastModifiedDate", and I want to use that column as my "updated_at" column. Is there any way to tell Rails to use that field? Or, let me rephrase. :) ... How can I tell Rails to use that field? :) Thanks!
Mr Mikkél
  • 2,577
  • 4
  • 34
  • 52
1
vote
0 answers

MATLAB spmd dynamic fieldname call

How do I access data field in spmd block? I have the following code -- function output = spmd_fieldname_test(input) spmd input = distributed(input); allFieldnames = fieldnames(input); for ithField = 1:numel(allFieldnames) output =…
1
vote
1 answer

Can fields in different but associated tables have the same name is Rails 4

Can fields in different but associated tables have the same names is Rails 4 and be distinct. For example, if I have a class Shipping and a class Receiving, where each has the field EnterTrackingNo, and they are associated via a one to one…
North Laine
  • 384
  • 2
  • 14
1
vote
1 answer

Save Field Names in Microsoft SQL Query Analyzer

When you save the results of a SQL query using "Microsoft SQL Query Analyzer" (version 8), the results of the query are saved but the column headers (field names) are not. Any idea how to save the field names to the results file as well?
Michael Shnitzer
  • 2,465
  • 6
  • 25
  • 34
1
vote
1 answer

Spring 3 form validation shows error messages but field name not displayed

I have a 2 item form, that requires that both fields be entered. I'm using annotated validations, and am getting error messages, but they do not print the field name, just "may not be blank" instead of "one may not be blank" where one is the field…
mikeb
  • 10,578
  • 7
  • 62
  • 120