OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to create a temporal network using Networkx?

  • Thread starter Thread starter user15597323
  • Start date Start date
U

user15597323

Guest
I have this dataset that contains the Source, Target and timestamp. How to create a graph with timestamp using python (Networkx)?

[th]
Source​
[/th]​
[th]
Target​
[/th]​
[th]
Timestamp​
[/th]​
[td]
1​
[/td]​
[td]
2​
[/td]​
[td]
4/15/04 2:56PM​
[/td]​
[td]
3​
[/td]​
[td]
4​
[/td]​
[td]
4/16/04 10:50PM​
[/td]​
[td]
5​
[/td]​
[td]
2​
[/td]​
[td]
4/19/04 10:39PM​
[/td]​
[td]
6​
[/td]​
[td]
7​
[/td]​
[td]
4/20/04 5:40PM​
[/td]​
[td]
8​
[/td]​
[td]
7​
[/td]​
[td]
4/20/04 5:42PM​
[/td]​
[td]
9​
[/td]​
[td]
10​
[/td]​
[td]
4/20/04 5:53PM​
[/td]​
[td]
...​
[/td]​
[td]
...​
[/td]​
[td]
...​
[/td]​

anyone can help me?

for a static network, I can create the network. But, I cannot construct a dynamic/interactive network, where the network connections change according to day.

dataset source: https://drive.google.com/file/d/1ZAvnBj68Y_N2nV9csfrXAPjQuNMdlqom/view?usp=sharing
<p>I have this dataset that contains the Source, Target and timestamp. How to create a graph with timestamp using python (Networkx)?</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th style="text-align: center;">Source</th>
<th style="text-align: center;">Target</th>
<th style="text-align: center;">Timestamp</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">1</td>
<td style="text-align: center;">2</td>
<td style="text-align: center;">4/15/04 2:56PM</td>
</tr>
<tr>
<td style="text-align: center;">3</td>
<td style="text-align: center;">4</td>
<td style="text-align: center;">4/16/04 10:50PM</td>
</tr>
<tr>
<td style="text-align: center;">5</td>
<td style="text-align: center;">2</td>
<td style="text-align: center;">4/19/04 10:39PM</td>
</tr>
<tr>
<td style="text-align: center;">6</td>
<td style="text-align: center;">7</td>
<td style="text-align: center;">4/20/04 5:40PM</td>
</tr>
<tr>
<td style="text-align: center;">8</td>
<td style="text-align: center;">7</td>
<td style="text-align: center;">4/20/04 5:42PM</td>
</tr>
<tr>
<td style="text-align: center;">9</td>
<td style="text-align: center;">10</td>
<td style="text-align: center;">4/20/04 5:53PM</td>
</tr>
<tr>
<td style="text-align: center;">...</td>
<td style="text-align: center;">...</td>
<td style="text-align: center;">...</td>
</tr>
</tbody>
</table>
</div>
<p>anyone can help me?</p>
<p>for a static network, I can create the network. But, I cannot construct a dynamic/interactive network, where the network connections change according to day.</p>
<p>dataset source: <a href="https://drive.google.com/file/d/1ZAvnBj68Y_N2nV9csfrXAPjQuNMdlqom/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/1ZAvnBj68Y_N2nV9csfrXAPjQuNMdlqom/view?usp=sharing</a></p>
 

Online statistics

Members online
0
Guests online
5
Total visitors
5
Top