256 Kilobytes

All Content > Scripting

Type All Category All Tag Scripting

Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyYou're probably using an XML parser which produces a string. So, the multiplication doesn't work, because it's not natural for Python. Strings cannot... roxblade,

You're probably using an...

Thu, 07 Feb 2019 02:00:26 -08002 years ago1
🗨 1
🐏 0
👁 737
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyWelcome to the world of Python! It can totally be a pain sometimes. More often than not, in my opinion. Now, this problem arises due to a number of re... roxblade,

Welcome to the world of P...

Thu, 07 Feb 2019 01:56:58 -08002 years ago1
🗨 1
🐏 0
👁 950
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThis is not a very rare HTML problem. The Python function is basically returning nothing. It's a common coding problem. My advice would be checking th... roxblade,

This is not a very rare H...

Thu, 07 Feb 2019 01:49:06 -08002 years ago1
🗨 2
🐏 0
👁 461
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyBoth arrays (NumPy or otherwise) need to be of the same dimension. This error throws up when one is 2D and another 1D. You can try printing both the a... roxblade,

Both arrays (NumPy or oth...

Wed, 06 Feb 2019 18:58:27 -08002 years ago1
🗨 1
🐏 0
👁 1,307
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyIt's quite self-explanatory. This happens in matplotlib graph plotting. You can first of all attempt making x and y NumPy arrays. NumPy is also a libr... roxblade,

It's quite self-explanato...

Wed, 06 Feb 2019 18:49:13 -08002 years ago1
🗨 1
🐏 0
👁 711
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThis is a common error in older Python versions, like Python 2.6.x. All you need to do is update to the latest version. The problem arises because... roxblade,

This is a common error in...

Fri, 01 Feb 2019 02:37:26 -08002 years ago1
🗨 1
🐏 0
👁 584
Profile Photo - Some Guy
Profile Photo - roxblade

Last Replynp.cocatenate is not an easy process, to be honest. It creates more problems as well. Well, the simple truth here is that you need to arrange the arra... roxblade,

np.cocatenate is not an e...

Fri, 01 Feb 2019 02:31:51 -08002 years ago1
🗨 1
🐏 0
👁 1,746
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThis problem usually arises because of using incorrect fmin syntax. Your code must be missing out on this. You need to utilize parentheses and comma i... roxblade,

This problem usually aris...

Fri, 01 Feb 2019 02:28:15 -08002 years ago1
🗨 1
🐏 0
👁 4,052
Profile Photo - Some Guy
Profile Photo - Hash Brown

Last ReplyHello, You're clearly doing some sort of division in your math problem, and it would appear you're trying to divide by 0 which is impossibl... Hash Brown,

Hello,

Thu, 24 Jan 2019 01:32:24 -08002 years ago1
🗨 1
🐏 0
👁 950
Profile Photo - Some Guy
Profile Photo - Hash Brown

Last ReplyHello, This is one of the errors that often comes up when the tutorial you're following has a different version of python installed to you.... Hash Brown,

Hello,

Thu, 24 Jan 2019 00:27:20 -08002 years ago1
🗨 1
🐏 0
👁 435
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyYou have incorrectly defined the range and as a result, the output of b*d is resulting in 0. If the function returns 0, this is the error Python shows... roxblade,

You have incorrectly defi...

Tue, 22 Jan 2019 08:19:58 -08002 years ago1
🗨 1
🐏 0
👁 695
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last ReplyThe issue with the error is that there is a difference between concatenation and addition. Addition: 1 + 1 = 2 Concatenation:... August R. Garcia,

The issue with the error...

Mon, 14 Jan 2019 16:09:42 -08002 years ago1
🗨 1
🐏 0
👁 750
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreHi! I'm kind of a beginner when it comes to Python, so sorry if this is a super easy question. But I keep seeing this error: "ValueError: u...
🗨 0
🐏 0
👁 736
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI'm working with arrays in Python and I am trying to add more items and keep getting an error message that says "ValueError: total size of n...
🗨 0
🐏 0
👁 362
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI need help with a Python error message. Does anyone have experience with the error message "ValueError: shape mismatch: objects cannot be broadc...
🗨 0
🐏 0
👁 941
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreHi. A Value Error popped up on my screen while I was working in Python today. I'm trying to set an array element, but somehow I've created a...
🗨 0
🐏 0
👁 347
Profile Photo - Some Guy

[Python] Help with "ValueError: ordinal must be >= 1?"

Answers in Scripting and Automation | By Some Guy

Published

Profile Photo - Some Guy

MoreHello! I just started learning Python for my new job, and I've been having a bit of trouble with all these ValueErrors. Specifically, I keep seei...
🗨 0
🐏 0
👁 388
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI need to find a forum entry or a how to/tutorial on a python coding website that deals with how to fix the following error: "ValueError: operand...
🗨 0
🐏 0
👁 415
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI have recently started using Python and I don't have much experience with it. So any help is appreciated here. I keep getting this error: "...
🗨 0
🐏 0
👁 2,160
Profile Photo - Some Guy
Profile Photo - Some Guy

MorePython is throwing an error that says "ValueError: object too deep for desired array?" and I have no idea what that means. Can you help me...
🗨 0
🐏 0
👁 545
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI've been using Python for a while, so I feel comfortable with it. However, recently I've been getting a message that says "ValueError:...
🗨 0
🐏 0
👁 565
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreHi! I'm a bit new to Python, and some of the syntax has been giving me a bit of trouble. I've been trying to figure out this error: ValueEr...
🗨 0
🐏 0
👁 292
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI'm working with dataframes in Python and keep butting my head on this error message: "ValueError: must pass dataframe with boolean values o...
🗨 0
🐏 0
👁 918
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI'm working in Python and I ran into an error message I don't recognize. It says "ValueError: multiclass format is not supported?&quot...
🗨 0
🐏 0
👁 629
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreWhile I was trying to program last night using Python, i kept getting a random error message that I've never seen before. It said "ValueErro...
🗨 0
🐏 0
👁 402
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI'm programming in Python and I'm out of my league, I just ran into an error that says "ValueError: min() (or max()) arg is an empty se...
🗨 0
🐏 0
👁 404
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreWhen I was working in Python this morning, I ended up with this message "ValueError: max must be larger than the min in range parameter". I...
🗨 0
🐏 0
👁 757
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreHi! I'm fairly new to working on Python, so I need some help with my code. When I'm working, I'm getting a ValueError. It's tellin...
🗨 0
🐏 0
👁 419
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI recently started learning Python and ran into a problem. Can anyone tell me what the solution is to the error code "ValueError: list.remove(x):...
🗨 0
🐏 0
👁 337
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreWhen I was using Python, I received this error message : "ValueError: invalid literal for int() with base 10?" Has anyone seen this error?...
🗨 0
🐏 0
👁 474