pandas._libs.tslib.OutOfBoundsDatetime: Out of bounds nanosecond timestamp

0 votes

Hi Guys,

I am trying to import the Pandas module in my Jupyter Notebook. But it is showing me the below error.

pandas._libs.tslib.OutOfBoundsDatetime: Out of bounds nanosecond timestamp

How can I solve this error?

Jul 16 in Python by akhtar
• 17,690 points
86 views

1 answer to this question.

0 votes

Hi@akhtar,

I think you need to upgrade or reinstall your Pandas module in your system. You can also try this below command once. It may work.

import pandas as pd
from datetime import datetime
df = pd.DataFrame([{"datetime": datetime.strptime("9999-1-1T00:00", "%Y-%m-%dT%H:%M")}])
answered Jul 16 by MD
• 40,740 points

Related Questions In Python

0 votes
0 answers

Size is (121,512,512). Error is coming as : IndexError: index 152 is out of bounds for axis 0 with size 121.

def nodule_detect(nodules,j,numpyImage, numpyOrigin, numpySpacing): ...READ MORE

Jan 28 in Python by anonymous
• 150 points
1,239 views
0 votes
1 answer

How can I find out the index of an element from row and column in Python?

You probably want to use np.ravel_multi_index: [code] import numpy ...READ MORE

answered Apr 16, 2018 in Python by charlie_brown
• 7,780 points
272 views
0 votes
1 answer

How can I reformat value_counts() analysis in Pandas for large number of columns?

If I were you, I'd do it ...READ MORE

answered Apr 17, 2018 in Python by anonymous
4,371 views
0 votes
1 answer

Start an iteration on first row of a group Pandas

For anyone needing this information in the ...READ MORE

answered Sep 6, 2018 in Python by Priyaj
• 57,550 points
898 views
0 votes
1 answer
0 votes
1 answer

How to create Pandas series from dictionary?

Here's a sample script: import pandas as pd import ...READ MORE

answered Apr 1, 2019 in Python by Prateek
191 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,170 views
0 votes
1 answer

I can't get a graph out of my information

Hi@lzzy, According to your error, there is a ...READ MORE

answered Jun 11 in Python by MD
• 40,740 points
46 views
+1 vote
2 answers

How to change/update cell value in Python Pandas dataframe?

You can use the at() method to ...READ MORE

answered Apr 8, 2019 in Python by Kunal
64,942 views